12 Apr
2023
12 Apr
'23
3:29 p.m.
Giovanni Mascellani (@giomasce) commented about tests/hlsl-is-front-face.shader_test:
+ } m; +}; + +struct output +{ + struct + { + float4 color : sv_target; + } m; +}; + +struct output main(struct input i, bool face : sv_isfrontface) +{ + struct output o; + o.m.color = i.m.texcoord; + if (face) o.m.color += float4(1.0, 1.0, 1.0, 1.0); IMHO let's avoid this style even in tests.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/140#note_29756