13 Apr
2023
13 Apr
'23
10:45 p.m.
Zebediah Figura (@zfigura) commented about tests/any.shader_test:
+uniform float4 f; + +float4 main() : sv_target +{ + return any(f); +} + +[test] +uniform 0 float4 1.0 1.0 1.0 1.0 +draw quad +probe all rgba (1.0, 1.0, 1.0, 1.0) + +[test] +uniform 0 float4 1.0 0.0 0.0 0.0 +draw quad +probe all rgba (1.0, 1.0, 1.0, 1.0) You can collapse these into the same block; no need to repeat [test] every time.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/157#note_29982