hal/vk: always request StorageImageExtendedFormats in SPIR-V

This commit is contained in:
Dzmitry Malyshau authored and Dzmitry Malyshau committed 2021-09-01 19:08:01 -04:00
1 parent 90778c3a43
commit 3ced8bf892
1 file changed
+4
+4
View File
@@ -827,6 +827,10 @@ impl super::Adapter {
spv::Capability::Image1D,
spv::Capability::ImageQuery,
spv::Capability::DerivativeControl,
//Note: this is requested always, no matter what the actual
// adapter supports. It's not the responsibility of SPV-out
// translation to handle the storage support for formats.
spv::Capability::StorageImageExtendedFormats,
//TODO: fill out the rest
];
let mut flags = spv::WriterFlags::empty();