anv: doom eternal crash at startup
Did a bit of digging and it seems to be related to the fp64 shader workaround.
We end up with 64bit offset for load_scratch/store_scratch intrinsics. This is causing backend issues because we don't have 64bit alu support. But it's also wrong because anyway the scratch surface cannot be larger than 2^27 or something, so we should be limiting ourself to 32bit offsets.
Edited by Lionel Landwerlin