vkd3d/tests/hlsl/fxgroup-syntax.shader_test

40 lines
678 B
Plaintext
Raw Permalink Normal View History

2024-03-25 21:15:42 -07:00
% Test complex effect groups syntax
[pixel shader fail(sm>=6)]
2024-03-25 21:15:42 -07:00
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; }