Dec. 13, 2023
4:12 a.m.
Giovanni Mascellani (@giomasce) commented about tests/hlsl/ternary.shader_test:
{ - return x ? y : z; + 0 ? a : b; + return 0; +} + + +[pixel shader] + +uniform float3x3 a; +uniform float2x2 b; + +float4 main() : sv_target +{ + return float4(0 ? a : b); +} Could you also add a quick `[test]` for expected-successful shaders? Semantics should be obvious here, but I'm always braced for surprises...
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/463#note_55881