anv: fix apply_pipeline_layout pass for 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 entries/planes and element 1 could use 2 entries/planes. Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 3bb8768b ("anv: toggle on support for VK_EXT_ycbcr_image_arrays") Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> (cherry picked from commit 2042f22e)
Loading
Please register or sign in to comment