intel/nir: add options to storage image lowering
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22302>
This commit is contained in:

committed by
Marge Bot

parent
d4f498a583
commit
d04d701cc6
@@ -130,8 +130,17 @@ bool brw_nir_lower_conversions(nir_shader *nir);
|
||||
|
||||
bool brw_nir_lower_shading_rate_output(nir_shader *nir);
|
||||
|
||||
struct brw_nir_lower_storage_image_opts {
|
||||
const struct intel_device_info *devinfo;
|
||||
|
||||
bool lower_loads;
|
||||
bool lower_stores;
|
||||
bool lower_atomics;
|
||||
bool lower_get_size;
|
||||
};
|
||||
|
||||
bool brw_nir_lower_storage_image(nir_shader *nir,
|
||||
const struct intel_device_info *devinfo);
|
||||
const struct brw_nir_lower_storage_image_opts *opts);
|
||||
|
||||
bool brw_nir_lower_mem_access_bit_sizes(nir_shader *shader,
|
||||
const struct
|
||||
|
Reference in New Issue
Block a user