Fix single-plane views of YCbCr formats
Image views can select a single plane from a multi-planar format, so
make sure we use the original plane aspect instead of assuming the
color aspect.
Bug: b/132437008
Tests: dEQP-VK.*ycbcr*
Change-Id: I81c4c8b05e894c5f48d5718e912d5f6ee747a7e5
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31617
Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
Tested-by:
Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Showing
Please
register
or
sign in
to comment