diff options
author | Jason Ekstrand <[email protected]> | 2018-11-14 15:40:43 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-02-01 16:08:29 -0600 |
commit | f409a08e5fd66183336bd236f159061df9707ca9 (patch) | |
tree | 9dfd75354f943dde83093050af39871609422aae /src | |
parent | fea5b8e5ad5042725cb52d6d37256b9185115502 (diff) |
intel/nir: Add global support to lower_mem_access_bit_sizes
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_nir_lower_mem_access_bit_sizes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir_lower_mem_access_bit_sizes.c b/src/intel/compiler/brw_nir_lower_mem_access_bit_sizes.c index a3320521f49..40ecbb20e5f 100644 --- a/src/intel/compiler/brw_nir_lower_mem_access_bit_sizes.c +++ b/src/intel/compiler/brw_nir_lower_mem_access_bit_sizes.c @@ -257,12 +257,14 @@ lower_mem_access_bit_sizes_impl(nir_function_impl *impl) nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); switch (intrin->intrinsic) { + case nir_intrinsic_load_global: case nir_intrinsic_load_ssbo: case nir_intrinsic_load_shared: if (lower_mem_load_bit_size(&b, intrin)) progress = true; break; + case nir_intrinsic_store_global: case nir_intrinsic_store_ssbo: case nir_intrinsic_store_shared: if (lower_mem_store_bit_size(&b, intrin)) |