On Thu, 21 Jul 2022 at 15:57, Conor McCarthy conor.mccarthy.444@gmail.com wrote:
These are all vec4 formats. We currently don't set D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD for any formats, so the formats with component count < 4 are not supported. Would that be a separate patch series?
Sure. Note that we currently set "device->feature_options.TypedUAVLoadAdditionalFormats" based on "features->shaderStorageImageExtendedFormats". That wouldn't necessarily be wrong (if we generated the correct SPIR-V at least...), but it's a somewhat stricter requirement than necessary.