mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add some tests for initial values in effects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
2bf517782d
commit
2626dcc55d
Notes:
Henri Verbeet
2024-09-30 21:05:32 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1120
@ -103,6 +103,8 @@ vkd3d_shader_tests = \
|
||||
tests/hlsl/duplicate-modifiers.shader_test \
|
||||
tests/hlsl/early-depth-stencil.shader_test \
|
||||
tests/hlsl/effect-compile.shader_test \
|
||||
tests/hlsl/effect-initial-values-fx_2.shader_test \
|
||||
tests/hlsl/effect-initial-values-fx_4.shader_test \
|
||||
tests/hlsl/effect-pass-states-fx_5.shader_test \
|
||||
tests/hlsl/effect-shader-objects-fx_2.shader_test \
|
||||
tests/hlsl/effect-shader-objects-fx_5.shader_test \
|
||||
|
13
tests/hlsl/effect-initial-values-fx_2.shader_test
Normal file
13
tests/hlsl/effect-initial-values-fx_2.shader_test
Normal file
@ -0,0 +1,13 @@
|
||||
[require]
|
||||
shader model < 3.0
|
||||
|
||||
[effect todo]
|
||||
float var1 = 0.1f;
|
||||
float2 var2 = {0.2f,0.3f};
|
||||
float2x4 var3 = {1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0};
|
||||
bool var4 = true;
|
||||
half var5 = 0.5;
|
||||
int var6 = 2;
|
||||
uint var7 = 3;
|
||||
|
||||
technique {}
|
12
tests/hlsl/effect-initial-values-fx_4.shader_test
Normal file
12
tests/hlsl/effect-initial-values-fx_4.shader_test
Normal file
@ -0,0 +1,12 @@
|
||||
[require]
|
||||
shader model >= 4.0
|
||||
shader model < 6.0
|
||||
|
||||
[effect todo]
|
||||
float var1 = 0.1f;
|
||||
float2 var2 = {0.2f,0.3f};
|
||||
float2x4 var3 = {1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0};
|
||||
bool var4 = true;
|
||||
half var5 = 0.5;
|
||||
int var6 = 2;
|
||||
uint var7 = 3;
|
Loading…
Reference in New Issue
Block a user