mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
brw: round up block components
this ensures we don't see vec5 @load_ssbo_uniform_block_intel which requires special backend handling, instead rounding up in NIR to vec8 which the LSC can do. affects dEQP-GLES31.functional.shaders.builtin_functions.integer.bitfieldextract.ivec3_lowp_compute. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40877>
This commit is contained in:
parent
70e246d7bc
commit
181611786c
1 changed files with 1 additions and 0 deletions
|
|
@ -2514,6 +2514,7 @@ brw_vectorize_lower_mem_access(brw_pass_tracker *pt)
|
|||
.modes = nir_var_mem_ubo | nir_var_mem_ssbo |
|
||||
nir_var_mem_global | nir_var_mem_shared |
|
||||
nir_var_mem_task_payload,
|
||||
.round_up_components = lsc_urb_round_up_components,
|
||||
.callback = brw_nir_should_vectorize_mem,
|
||||
.robust_modes = (nir_variable_mode)0,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue