nir: Drop the ssbo_offset to atomic lowering.
authorEric Anholt <eric@anholt.net>
Fri, 20 Dec 2019 21:52:06 +0000 (13:52 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 21 Jan 2020 18:06:23 +0000 (10:06 -0800)
commitd0975bfc4ab766a6a0fd65d3f54a608fa5622f59
treee71dedded680e18a1a0c3baffcfd00df1e9062f1
parentd5a3971457b8a9d5269050c5aa1d09a6197b5eef
nir: Drop the ssbo_offset to atomic lowering.

The arguments passed in were:
- prog->info.num_ssbos
- prog->nir->info.num_ssbos
- arbitrary values for standalone compilers

The num_ssbos should match between the prog's info and prog->nir's info
until this lowering happens.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3240>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_atomics_to_ssbo.c
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
src/mesa/drivers/dri/i965/brw_link.cpp
src/mesa/state_tracker/st_glsl_to_nir.cpp