Nicolai, the direct cause is probably in r267922 ("AMDGPU: Emit error if too much LDS is used") which is between his good and bad revision and introduces the error. If I run the non-beta locally I don't get any shader that uses more than 1024 bytes of LDS. John, did you get this error using the shadow of mordor beta?