tests: Rename effect test files to make them easier to find.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov
2024-03-19 09:21:41 +01:00
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
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,186 @@
[require]
shader model >= 5.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_5_0
[effect]
float4 f;
% fx_2_0 keyword is allowed with fx_5_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 {}
}
% Groups syntax
% Name has to be specified, it belongs to global scope
[effect fail]
fxgroup
{
}
% Group can't be empty
[effect fail]
fxgroup group
{
}
[effect fail]
float4 group;
fxgroup group
{
}
% Groups can only contain a list of techniques
[effect fail]
fxgroup group
{
float4 v;
technique11 {}
}
% Group provides scope for techniques
[effect]
fxgroup group1
{
technique11 tech0 {}
}
fxgroup group2
{
technique11 tech0 {}
}