ac/nir/ngg: fix nogs culling scratch size and barrier
Split from !17455 (merged)
We have more aggressive fix for the prim id barrier, but this one is simpler for backport.
Split from !17455 (merged)
We have more aggressive fix for the prim id barrier, but this one is simpler for backport.