On Tue Mar 26 04:38:01 2024 +0000, Francisco Casas wrote:
There is a test, if this is what you mean:
% It is not allowed to call the functions to set state blocks on the rhs using the assignment syntax % for state groups or passes. [pixel shader fail(sm<6)] float4 main() : sv_target { return 0; } technique { pass { cat = SetPixelShader(foobar); } }
But other types of function calls on the rhs are allowed. I added some more tests.
No, I mean like {a = b; SetBlendState(c);}.