radv: Enable NGG culling by default on RDNA 1 (such as Navi 10)
This is an early Black Friday gift for Navi 10 users.
Improves performance on Navi 10 in the following test cases:
- Baldur's Gate 3: up to 10%
Tested with Vulkan renderer, 1080p medium settings:- main menu (after pressing button): 124 fps -> 140 fps
- zoomed out scene at Rosymorn Monastery Trail: 91 fps -> 101 fps
- no perf change when zoomed in (eg. during conversations)
- Witcher 3: around 4%
Tested with D3D11 renderer, 1440p medium settings:- first scene when you start a new game: 106 fps -> 110 fps
- Granite primitive stress test: 107%
Tested with:./tests/meshlet-viewer *file* --encoding classic
-
kitten.glb
: 8.875 ms -> 4.3 ms (frame time)
-
- FSR2 sample app: 57%
Tested with default settings:- 92 fps -> 145 fps
We never took the time to actually test this, but it works fine.
Note that even when NGG culling was originally implemented, we never found any game that regressed on Navi 10; we just didn't enable it becuase it didn't yield such a big perf improvement as it did on Navi 21; and we never took the time to revisit that. Better late than never!