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 <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27638>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user