Skip to content

radv: Fix gs_vgpr_comp_cnt for NGG culling in vertex shaders.

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

Previously these shaders always took the path to gs_vgpr_comp_cnt=3, but now they are 0 when they don't use primitive id. Therefore, the GS threads can't read the vertex indices of their triangles, they just read garbage which leads to a GPU hang.

Merge request reports