mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Rename effect test files to make them easier to find.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
88d9cff407
commit
3fdf674a4d
Notes:
Alexandre Julliard
2024-03-27 23:07:48 +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/729
144
tests/hlsl/effect-technique-fx_4.shader_test
Normal file
144
tests/hlsl/effect-technique-fx_4.shader_test
Normal file
@@ -0,0 +1,144 @@
|
||||
[require]
|
||||
shader model >= 4.0
|
||||
shader model < 6.0
|
||||
|
||||
[pixel shader fail]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 teChnique = {0, 0, 0, 0};
|
||||
return teChnique;
|
||||
}
|
||||
|
||||
[pixel shader fail]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 fxgroup = {0, 0, 0, 0};
|
||||
return fxgroup;
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 teChnique10 = {0, 0, 0, 0};
|
||||
return teChnique10;
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 teChnique11 = {0, 0, 0, 0};
|
||||
return teChnique11;
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 fxGroup = {0, 0, 0, 0};
|
||||
return fxGroup;
|
||||
}
|
||||
|
||||
[effect]
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
technique10
|
||||
{
|
||||
}
|
||||
|
||||
% Effects without techniques are allowed for fx_4_0+
|
||||
[effect]
|
||||
float4 f;
|
||||
|
||||
% fx_2_0 keyword is allowed with fx_4_0+ profiles
|
||||
[effect]
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
technique11
|
||||
{
|
||||
}
|
||||
|
||||
[effect fail]
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
tEchnique10
|
||||
{
|
||||
}
|
||||
|
||||
[effect fail]
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
tEchnique11
|
||||
{
|
||||
}
|
||||
|
||||
[effect fail]
|
||||
float4 technique;
|
||||
|
||||
[effect fail]
|
||||
float4 technIque;
|
||||
|
||||
[effect fail]
|
||||
float4 technique10;
|
||||
|
||||
[effect fail]
|
||||
float4 technique11;
|
||||
|
||||
[effect]
|
||||
float4 technIque10;
|
||||
|
||||
[effect]
|
||||
float4 technIque11;
|
||||
|
||||
% Regular shaders with technique blocks
|
||||
[vertex shader]
|
||||
float4 main() : sv_position
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
technique10
|
||||
{
|
||||
}
|
||||
|
||||
technique11
|
||||
{
|
||||
}
|
||||
|
||||
fxgroup group
|
||||
{
|
||||
technique10 {}
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
tEchnique
|
||||
{
|
||||
}
|
||||
|
||||
technique10
|
||||
{
|
||||
}
|
||||
|
||||
technique11
|
||||
{
|
||||
}
|
||||
|
||||
fxgroup group
|
||||
{
|
||||
technique10 {}
|
||||
}
|
Reference in New Issue
Block a user