mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
lavapipe: Lower non uniform access
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
This commit is contained in:
parent
b9d774fe22
commit
ea848d3721
1 changed files with 5 additions and 0 deletions
|
|
@ -394,6 +394,11 @@ lvp_shader_lower(struct lvp_device *pdevice, nir_shader *nir, struct lvp_shader
|
|||
nir_var_mem_global,
|
||||
nir_address_format_64bit_global);
|
||||
|
||||
nir_lower_non_uniform_access_options options = {
|
||||
.types = nir_lower_non_uniform_ubo_access | nir_lower_non_uniform_texture_access | nir_lower_non_uniform_image_access,
|
||||
};
|
||||
NIR_PASS(_, nir, nir_lower_non_uniform_access, &options);
|
||||
|
||||
lvp_lower_pipeline_layout(pdevice, layout, nir);
|
||||
|
||||
if (nir->info.stage == MESA_SHADER_COMPUTE ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue