tests: Always compile HLSL shaders.

Do not rely on a draw or dispatch command to do this.

This allows more efficiently testing syntax, in cases where testing the actual
shader functionality is not interesting.
This commit is contained in:
Zebediah Figura
2022-10-30 17:21:12 -05:00
committed by Alexandre Julliard
parent 520c7457a9
commit 4d17758657
Notes: Alexandre Julliard 2022-11-08 23:05:16 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/43
21 changed files with 96 additions and 62 deletions

View File

@@ -12,7 +12,7 @@ size (3, 3)
0.0 0.2 0.0 0.4 0.1 0.2 0.5 0.0 0.2 0.2 0.0 0.4
[pixel shader]
[pixel shader todo]
sampler s;
Texture2D t;
@@ -26,7 +26,7 @@ todo draw quad
probe all rgba (0.1, 0.2, 0.5, 0.0)
[pixel shader]
[pixel shader todo]
sampler s;
Texture2D t;
@@ -40,7 +40,7 @@ todo draw quad
probe all rgba (0.2, 0.2, 0.0, 0.4)
[pixel shader]
[pixel shader todo]
sampler s;
Texture2D t;