Skip to content

nir-to-tgsi: fix hw atomic counter offset

The atomic counter offset is already mapped into the memory.Index field. So the offset in the TGSI atomic instruction should be zero.

Fixes spec@arb_compute_shader@execution@atomic-counter spec@arb_compute_shader@execution@basic-* with SVGA driver

/cc @anholt @bhenden

Merge request reports