5 Dec
2022
5 Dec
'22
1:04 p.m.
Giovanni Mascellani (@giomasce) commented about tests/hlsl-invalid.shader_test:
{ return 1.0; } + +[pixel shader fail] +static uint i; +float4 main() : sv_target { return 1/i; } + +[pixel shader fail] +static Texture2D tex; +float4 main() : sv_target { return 0; } This seems to compile here, at least with profiles `ps_4_0`, `ps_5_0` and `ps_5_1`: https://shader-playground.timjones.io/4e83a24178541aea41b6cef402cd564f.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/54#note_18631