From 078dbc4d334af11b47b8f5a6d66cd9cb6e6f1091 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Thu, 15 Feb 2024 07:52:11 -0800 Subject: [PATCH] anv: Remove lower_atomics from storage image lowering opts The code only applies to Gfx <= 7.5, so it is a no-op. Reviewed-by: Kenneth Graunke Part-of: --- src/intel/vulkan/anv_pipeline.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index f33bdea4149..9ef14b87bc3 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -1049,13 +1049,10 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline, &(struct brw_nir_lower_storage_image_opts) { /* Anv only supports Gfx9+ which has better defined typed read * behavior. It allows us to only have to care about lowering - * loads/atomics. + * loads. */ .devinfo = compiler->devinfo, .lower_loads = true, - .lower_stores = false, - .lower_atomics = true, - .lower_get_size = false, }); NIR_PASS(_, nir, nir_lower_explicit_io, nir_var_mem_global,