vkd3d/tests/hlsl/technique-fx_5.shader_test
Nikolay Sivov 8e5c8c1725 tests: Add some tests for 'technique' token behaviour.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-31 21:59:45 +01:00

84 lines
898 B
Plaintext

[require]
shader model >= 5.0
shader model < 6.0
[pixel shader fail todo]
float4 main() : sv_target
{
float4 teChnique = {0, 0, 0, 0};
return teChnique;
}
[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;
}
[effect todo]
technique
{
}
technique10
{
}
% Effects without techniques are allowed for fx_5_0
[effect todo]
float4 f;
% fx_2_0 keyword is allowed with fx_5_0 profiles
[effect todo]
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 todo]
float4 technIque10;
[effect todo]
float4 technIque11;