intel/compiler: detect if atomic load store operations are used
authorTapani Pälli <tapani.palli@intel.com>
Fri, 6 Mar 2020 06:59:16 +0000 (08:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Mar 2020 10:34:21 +0000 (10:34 +0000)
commite8f0483ec408037ce7b7c6014674f13cc4461079
tree970055366fae1b023ec101ffb91adf737618bfcb
parent6dd654ba419d792806366f43ba9325f52eab9488
intel/compiler: detect if atomic load store operations are used

Patch adds a new arg and modifies existing calls from i965, anv
pass NULL but iris stores this information for later use.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4080>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_program.c
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_nir.h
src/intel/compiler/brw_nir_lower_image_load_store.c
src/intel/vulkan/anv_pipeline.c
src/mesa/drivers/dri/i965/brw_program.c