Module: vkd3d Branch: master Commit: ca51c359ec7b094697686de28210862336f3dcd5 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/ca51c359ec7b094697686de2821086...
Author: Giovanni Mascellani gmascellani@codeweavers.com Date: Mon Oct 16 12:45:32 2023 +0200
tests: Fix the usage of require directives.
They are reset each time "[require]" is encountered.
---
tests/hlsl/combined-samplers.shader_test | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/hlsl/combined-samplers.shader_test b/tests/hlsl/combined-samplers.shader_test index 19038c34..23553759 100644 --- a/tests/hlsl/combined-samplers.shader_test +++ b/tests/hlsl/combined-samplers.shader_test @@ -1,6 +1,7 @@ [require] shader model >= 4.0 shader model < 6.0 +options: backcompat
[sampler 0] @@ -35,10 +36,6 @@ size (1, 1) size (1, 1) 4.0 4.0 4.0 1.0
-[require] -shader model < 6.0 -options: backcompat - [pixel shader] sampler sam;
@@ -139,6 +136,7 @@ probe all rgba (1, 1, 1, 11) [require] shader model >= 5.0 shader model < 6.0 +options: backcompat
[pixel shader todo]