On Wed Jan 4 18:01:39 2023 +0000, Francisco Casas wrote:
I realized that this shader makes the compiler to get stuck in the copy-prop loop:
struct apple { Texture2D tex; float4 fo : COLOR; }; float4 main(struct apple input) : sv_target { input.tex = input.tex; // assignment to itself return input.tex.Load(int3(0, 0, 0)); }
There may be a more general problem, I am investigating this.
This currently also happens on master, so it is not a problem of this MR.