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:
committed by
Marge Bot
parent
c32ddb5e77
commit
744b977963
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user