r600,regression: Glitches on terrain with the NIR backend on Transport Fever 2
System information
- OS: Ubuntu 22.04
- GPU: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] [1002:68b8]
- Kernel version: 5.15.0
- Mesa version: Mesa 23.0.0-devel
- Xserver version 1.21.1
- Desktop manager and compositor: Gnome 42
Describe the issue
Some elements on the terrain are wrongly rendered, with wrong textures and no shadows.
Regression
This issue starts with commit 9fd9f3cd
Screenshots/video files (if applicable)
Trace of the game (same as #7530 (closed)): https://gitlab.freedesktop.org/mesa/mesa/uploads/471d3afbe150b5efbea3b60af64f3a25/TransportFever2.1291611.trim.trace