tests: Fix the usage of require directives.

They are reset each time "[require]" is encountered.
This commit is contained in:
Giovanni Mascellani 2023-10-16 12:45:32 +02:00 committed by Alexandre Julliard
parent ead98ef329
commit ca51c359ec
Notes: Alexandre Julliard 2023-10-18 22:51:21 +02:00
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/412

View File

@ -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]