mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add some tests for shader object type names.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
437ef0896f
commit
4dd1bbae40
Notes:
Alexandre Julliard
2024-03-06 23:29:49 +01:00
Approved-by: Giovanni Mascellani (@giomasce) 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/676
@ -90,6 +90,8 @@ vkd3d_shader_tests = \
|
||||
tests/hlsl/distance.shader_test \
|
||||
tests/hlsl/dot.shader_test \
|
||||
tests/hlsl/duplicate-modifiers.shader_test \
|
||||
tests/hlsl/effect-shader-objects-fx_2.shader_test \
|
||||
tests/hlsl/effect-shader-objects-fx_5.shader_test \
|
||||
tests/hlsl/entry-point-semantics.shader_test \
|
||||
tests/hlsl/exp.shader_test \
|
||||
tests/hlsl/expr-indexing.shader_test \
|
||||
|
35
tests/hlsl/effect-shader-objects-fx_2.shader_test
Normal file
35
tests/hlsl/effect-shader-objects-fx_2.shader_test
Normal file
@ -0,0 +1,35 @@
|
||||
[require]
|
||||
shader model < 3.0
|
||||
|
||||
[pixel shader]
|
||||
float4 vertexshadeR;
|
||||
float4 geometryshader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[pixel shader fail todo]
|
||||
float4 vertexshader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[pixel shader fail]
|
||||
float4 VertexShader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[effect todo]
|
||||
vertexshader vs1;
|
||||
verteXshadeR vs2;
|
||||
pixelshader ps1;
|
||||
pixeLshadeR ps2;
|
||||
|
||||
technique {}
|
34
tests/hlsl/effect-shader-objects-fx_5.shader_test
Normal file
34
tests/hlsl/effect-shader-objects-fx_5.shader_test
Normal file
@ -0,0 +1,34 @@
|
||||
[require]
|
||||
shader model >= 5.0
|
||||
shader model < 6.0
|
||||
|
||||
[pixel shader]
|
||||
float4 vertexshadeR;
|
||||
float4 geometryshader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[pixel shader fail todo]
|
||||
float4 vertexshader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[pixel shader fail]
|
||||
float4 VertexShader;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[effect todo]
|
||||
vertexshader vs1;
|
||||
verteXshadeR vs2;
|
||||
pixelshader ps1;
|
||||
pixeLshadeR ps2;
|
Loading…
Reference in New Issue
Block a user