On Mon Dec 5 13:04:05 2022 +0000, Giovanni Mascellani wrote:
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.
hmm, so it doesn't compile with 9.29.952.3111 (which I was using for testing) but it does with 10.0.10011.16384.
I guess we will have to add a way of having uninitialized objects, because in 10.0.10011.16384, the following shader: ```hlsl static Texture2D tex;
float4 main() : sv_target { return tex.Load(int3(0, 0, 0)); } ``` results in: ``` error X4000: variable 'tex' used without having been completely initialized ```