mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
panvk: Stop calling lower_uniforms_to_ubo
We don't need it because Vulkan doesn't have GL-style uniforms. It *shouldn't* be doing anything but sometimes it inserts an extra UBO binding and adds 1 to all our UBO indices for no good reason. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16276>
This commit is contained in:
parent
c32ddb5e77
commit
744b977963
1 changed files with 0 additions and 1 deletions
|
|
@ -399,7 +399,6 @@ panvk_per_arch(shader_create)(struct panvk_device *dev,
|
|||
panvk_lower_blend(pdev, nir, &inputs, blend_state, static_blend_constants);
|
||||
}
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_uniforms_to_ubo, true, false);
|
||||
NIR_PASS_V(nir, nir_lower_explicit_io,
|
||||
nir_var_mem_ubo | nir_var_mem_ssbo,
|
||||
nir_address_format_32bit_index_offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue