Allow ImageView to cast compressed texture into other formats
If an image is created with flags including the
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT
bit, then the compressed image may be used with
an image view which has an uncompressed format
that is size-compatible with the image's
compressed format.
Tests: dEQP-VK.image.texel_view_compatible.*.texture_read.e*
Bug b/119620767
Change-Id: Ia1af959780af12e9014f7852aaf991d313f75bf1
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31620Tested-by:
Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment