mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Add tests for fxgroup syntax.
This commit is contained in:
committed by
Alexandre Julliard
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
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; }
|
Reference in New Issue
Block a user