[PATCH vkd3d 2/3] vkd3d-shader: Introduce a compile option to use Unknown format for typed UAV reads.

Conor McCarthy conor.mccarthy.444 at gmail.com
Thu Jul 21 08:57:38 CDT 2022


On Thu, Jul 21, 2022 at 2:45 AM Henri Verbeet <hverbeet at gmail.com> wrote:

> Where this breaks down is component counts;
> image_format_for_image_read() assumes single component formats, in
> part because that's all that was originally required. These additional
> multi-component formats are an optional feature, see also
> "TypedUAVLoadAdditionalFormats" from D3D12_FEATURE_DATA_D3D12_OPTIONS.
>

TypedUAVLoadAdditionalFormats refers to the "if any one is supported, all
are supported" set in:
https://docs.microsoft.com/en-us/windows/win32/direct3d12/typed-unordered-access-view-loads


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220721/79a34417/attachment.htm>


More information about the wine-devel mailing list