iris: Calculate uses_atomic_load_store after all lowering
The lowering passes will soon be moved to another function, so there won't be any choice. As a side benefit, this allows eliminating the uses_atomic_load_store **pointer** parameter from brw_nir_lower_storage_image. For some reason crocus was passing false instead of NULL. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12858>
This commit is contained in:
@@ -123,8 +123,7 @@ bool brw_nir_lower_conversions(nir_shader *nir);
|
||||
bool brw_nir_lower_scoped_barriers(nir_shader *nir);
|
||||
|
||||
bool brw_nir_lower_storage_image(nir_shader *nir,
|
||||
const struct intel_device_info *devinfo,
|
||||
bool *uses_atomic_load_store);
|
||||
const struct intel_device_info *devinfo);
|
||||
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,
|
||||
|
Reference in New Issue
Block a user