Skip to content

anv: fix apply_pipeline_layout pass arrays of YCbCr descriptors

When using the binding tables to access arrays of YCbCr descriptors we did not consider the offset of the accessed element. We can't do a simple multiple because the binding table entries are tightly packed.

For example element 0 of the array could use 2 planes and element 1 could use 2 planes.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 3bb8768b ("anv: toggle on support for VK_EXT_ycbcr_image_arrays")

Merge request reports