2023-10-12 03:51:52 -07:00
|
|
|
[require]
|
|
|
|
shader model >= 4.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_4_0+
|
|
|
|
[effect todo]
|
|
|
|
float4 f;
|
|
|
|
|
|
|
|
% fx_2_0 keyword is allowed with fx_4_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;
|
2023-11-01 11:44:39 -07:00
|
|
|
|
|
|
|
% Regular shaders with technique blocks
|
|
|
|
[vertex shader todo]
|
|
|
|
float4 main() : sv_position
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
technique
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
technique10
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
technique11
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[pixel shader todo]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
tEchnique
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
technique10
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
technique11
|
|
|
|
{
|
|
|
|
}
|