25 Jan
2023
25 Jan
'23
8:38 p.m.
Francisco Casas (@fcasas) commented about tests/return.shader_test:
+uniform float f; + +float4 main() : sv_target +{ + if (f < 0.5) + return float4(0.1, 0.2, 0.3, 0.4); + return float4(0.5, 0.6, 0.7, 0.8); +} + +[test] +uniform 0 float 0.2 +draw quad +todo probe all rgba (0.1, 0.2, 0.3, 0.4) +uniform 0 float 0.8 +draw quad +probe all rgba (0.5, 0.6, 0.7, 0.8) This test is repeated twice.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/65#note_21863