Allow treating a 3D image as a layered 2D image
When an image is created as a 3D image, but contains the
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT flag, it becomes
equivalent to a 2D array with "depth" layers and should
be treated as such when accessing a single slice of a 3D
image.
Bug b/119620767
Change-Id: Ibdc6985acdf5e5f30efcb7bf5adc2563bf64c4f7
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/29189Tested-by:
Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Showing
Please
register
or
sign in
to comment