Hi.
I have ran into what appears to be a shader compiler bug in 24.12.1 on the RX5700. The issue manifested as invalid writes, but can also stall and time out.
There is a repro shader & minimal program that runs it here: https://gist.github.com/thynnmas/df14273158cfd98851672805fe93aad2 and it can be downloaded from here.
The repro contains two different manifestations of what I assume are the same bug; one where the shader writes bad data, and one where it times out. The pre-build version also contains readme file with portions of the relevant dxdiag output, run/build instructions if needed, and expected output to compare. By default it will run the version that times out.
After staring at this for a fairly long time, to me it appears that writes work as expected until the shader hits sufficient register pressure, and the workaround I'm using in the "working" version of the shader is to move some of the locals to shader memory.
Please let me know if this is not the right place to report this, or if it turns out I've made some mistake I've failed to spot.
Cheers