Skip to content

radv: Fix disabling NGG culling when multiple viewports are used.

Timur Kristóf requested to merge Venemo/mesa:radv-nggc-viewports-fix into main

We don't support NGG culling with multiple viewports yet, and the previous way I dealt with this was wrong.

This MR changes the code to simply not compile culling into shaders that write gl_ViewportIndex, and removes the buggy hack from radv_cmd_buffer.

Merge request reports

Loading