aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_nir.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2020-03-06 08:59:16 +0200
committerMarge Bot <[email protected]>2020-03-16 10:34:21 +0000
commite8f0483ec408037ce7b7c6014674f13cc4461079 (patch)
tree970055366fae1b023ec101ffb91adf737618bfcb /src/intel/compiler/brw_nir.h
parent6dd654ba419d792806366f43ba9325f52eab9488 (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4080>
Diffstat (limited to 'src/intel/compiler/brw_nir.h')
-rw-r--r--src/intel/compiler/brw_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h
index 32a8badaa24..b0ef195c261 100644
--- a/src/intel/compiler/brw_nir.h
+++ b/src/intel/compiler/brw_nir.h
@@ -121,7 +121,8 @@ void brw_nir_lower_fs_outputs(nir_shader *nir);
bool brw_nir_lower_conversions(nir_shader *nir);
bool brw_nir_lower_image_load_store(nir_shader *nir,
- const struct gen_device_info *devinfo);
+ const struct gen_device_info *devinfo,
+ bool *uses_atomic_load_store);
void brw_nir_rewrite_image_intrinsic(nir_intrinsic_instr *intrin,
nir_ssa_def *index);
void brw_nir_rewrite_bindless_image_intrinsic(nir_intrinsic_instr *intrin,