Dec. 13, 2023
4:12 a.m.
Giovanni Mascellani (@giomasce) commented about tests/hlsl/ternary.shader_test:
+ +float4 main() : sv_target +{ + (cond ? a : b); + return 0; +} + + +[pixel shader fail todo] + +uniform float4 cond; +uniform float4x1 a, b; + +float4 main() : sv_target +{ + (cond ? a : b); Is there a reason for the parentheses here?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/463#note_55883