On Mon Dec 5 15:24:56 2022 +0000, Francisco Casas wrote:
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:
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
Is that a version number on d3dcompiler_47?