Skip to content
Commit fe7c45b9 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Juan A. Suarez Romero
Browse files

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: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3bb8768b ("anv: toggle on support for VK_EXT_ycbcr_image_arrays")
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 2042f22e)
parent 16eac8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment