Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- tests/hlsl-struct-array.shader_test | 3 +++ tests/texture-load-typed.shader_test | 3 +++ tests/texture-load.shader_test | 3 +++ 3 files changed, 9 insertions(+)
diff --git a/tests/hlsl-struct-array.shader_test b/tests/hlsl-struct-array.shader_test index a5df9cdbf..aff0a677a 100644 --- a/tests/hlsl-struct-array.shader_test +++ b/tests/hlsl-struct-array.shader_test @@ -1,5 +1,8 @@ % In SM4, array elements are always aligned to the next vec4, although structs are not.
+[require] +shader model >= 4.0 + [pixel shader] uniform struct { diff --git a/tests/texture-load-typed.shader_test b/tests/texture-load-typed.shader_test index c0c3568a8..c92273373 100644 --- a/tests/texture-load-typed.shader_test +++ b/tests/texture-load-typed.shader_test @@ -1,3 +1,6 @@ +[require] +shader model >= 4.0 + [pixel shader fail] texture<float> t;
diff --git a/tests/texture-load.shader_test b/tests/texture-load.shader_test index 86b36af49..951ee3ead 100644 --- a/tests/texture-load.shader_test +++ b/tests/texture-load.shader_test @@ -1,3 +1,6 @@ +[require] +shader model >= 4.0 + [texture 0] size (2, 2) 0.1 0.2 0.3 0.4 0.5 0.7 0.6 0.8