Skip to content

panvk: Implement missing descriptor sets copy in UpdateDescriptorSets and fix multiple bugs

This MR implement missing descriptor sets copy in UpdateDescriptorSet, but also fix the following:

  • Combined sampler image weren't properly written previously as stride ended up always being 2. This was fixed by moving descriptor index logic to a new panvk2_get_desc_index helper and by passing the actual wanted descriptor type to it.
  • UpdateDescriptorSetWithTemplate wasn't handling dynamic buffers properly.

Merge request reports