Image type and view type compatibility check fix
Fixed ImageView::imageTypesMatch() according to the Vulkan Spec,
Section 11.5. Image Views, Table 15. Image and image view parameter
compatibility requirements.
Also allowed already supported mip level parameters to be used in
the clear function.
Bug b/119620767
Tests: dEQP-VK.pipeline.render_to_image.core.cube.*
Change-Id: I4785c4594ba82f8e97b40aaddce8c950d255c846
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28748
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Tested-by:
Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment