Chip Davis 832213b0e3 MVKImageView: Use a 2D non-arrayed view for 2D non-arrayed attachments.
If a shader uses an input attachment and doesn't do layered rendering,
but the image view is of type `MTLTextureType2DArray`, Metal's
validation layer will complain about the texture type mismatching what
the shader expects. This change makes the texture types line up.
2020-09-24 19:56:01 -05:00
..