Report input attachment usage capability for surface images
Report input attachment usage capability for surface images

VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT is widely supported for swapchain
surfaces. It enables fragment shaders to directly read them.

This usage capability is always enabled on Android, which provides a
swapchain surface implementation based on the Android Hardware Buffer
extension, instead of having the ICD provide it. Thus enabling this
capability on other platforms ensures we test the mandatory underlying
support with dEQP-VK.

Bug: b/170414896
Tests: dEQP-VK.image.swapchain_mutable.*
Tests: dEQP-VK.wsi.*
Change-Id: I0b63cfb110dc82bcd1f47e23d51c98d968eb772e
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/60529
Kokoro-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Tested-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Reviewed-by: Sean Risser <2d04e98eeaa433fb55534399ab3ab2c06fdf7967@google.com>

google/swiftshader,google/swiftshader,google/swiftshader