hal/vk: always request StorageImageExtendedFormats in SPIR-V

This commit is contained in:
Dzmitry Malyshau
2021-09-01 18:44:27 -04:00
committed by Dzmitry Malyshau
parent 90778c3a43
commit 3ced8bf892

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();