28 Apr
2023
28 Apr
'23
9:50 p.m.
Francisco Casas (@fcasas) commented about tests/sampler.shader_test:
draw quad probe all rgba (0.25, 0, 0.25, 0)
+[pixel shader todo] +SamplerState s; +Texture2D t; + +float4 main() : sv_target +{ + return t.SampleLevel(s, float2(0.5, 0.5), 0.0); +} + +[test todo] Currently, there doesn't exist a `[test todo]` Section for the shader_runner. This only seems to work (in this incomplete stage) because the shader_runner is handling the section the same as the previous one, `[pixel shader todo]`.
The proper way to write this part is: ``` [test] todo draw quad todo probe all rgba (0.25, 0, 0.25, 0) ``` and remove the `todo`s in the next commit. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/188#note_31563