mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add tests for fxgroup syntax.
This commit is contained in:
parent
00c8cf1bcc
commit
83f4b46fb1
Notes:
Alexandre Julliard
2024-04-11 17:02:42 -05: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/739
@ -110,6 +110,7 @@ vkd3d_shader_tests = \
|
||||
tests/hlsl/function-return.shader_test \
|
||||
tests/hlsl/function.shader_test \
|
||||
tests/hlsl/fwidth.shader_test \
|
||||
tests/hlsl/fxgroup-syntax.shader_test \
|
||||
tests/hlsl/gather-offset.shader_test \
|
||||
tests/hlsl/gather.shader_test \
|
||||
tests/hlsl/getdimensions.shader_test \
|
||||
|
39
tests/hlsl/fxgroup-syntax.shader_test
Normal file
39
tests/hlsl/fxgroup-syntax.shader_test
Normal file
@ -0,0 +1,39 @@
|
||||
% Test complex effect groups syntax
|
||||
[pixel shader fail(sm>=6) todo]
|
||||
fxgroup group1
|
||||
{
|
||||
technique10
|
||||
{
|
||||
pass
|
||||
{
|
||||
TurboEncabulator = prefabulated + aluminite;
|
||||
malleable = logarithmic - casing;
|
||||
}
|
||||
pass pass1
|
||||
{
|
||||
spurving_bearings = pentametric_fan;
|
||||
hydrocoptic = marzlevanes;
|
||||
}
|
||||
}
|
||||
technique11 tech1
|
||||
{
|
||||
pass
|
||||
{
|
||||
Lunar = Waneshaft;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
float4 main() : sv_target { return 0; }
|
||||
|
||||
|
||||
% Effect groups cannot have a "technique" without version
|
||||
[pixel shader fail]
|
||||
fxgroup group1
|
||||
{
|
||||
technique
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
float4 main() : sv_target { return 0; }
|
Loading…
Reference in New Issue
Block a user