Skip to content
Commit 5a90cc13 authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Dylan Baker
Browse files

anv/lower_ycbcr: Use the binding array size for bounds checks



Because lower_ycbcr gets called before apply_pipeline_layout, the
indices are all logical and the binding layout HW size is actually too
big for the bounds check.  We should just use the regular logical array
size instead.

Fixes: f3e91e78 "anv: add nir lowering pass for ycbcr textures"
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 320dacb0)
parent 33acfb07
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