On Thu Feb 16 21:56:41 2023 +0000, Giovanni Mascellani wrote:
This shader causes an assertion to be thrown:
float4 main(uniform float4 u) : sv_target { lit(u.x, u.y, u); return float4(0.0, 0.0, 0.0, 0.0); }
Please, check the argument types in `intrinsic_lit()`. As usual, having a few tests with uncommon types would be great (and would have spotted this problem immediately).
Thanks, I added some failing test cases.