mesa/src/microsoft
Boris Brezillon 99352b87dc dzn: Take VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT into account
Use a typeless format when VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT is
set, so we can cast to compatible types at least. Still doesn't
work when formats are of the same size but from incompatible
types (like R32_FLOAT and RGBA8_UNORM), which Vulkan considers
as compatible while D3D12 doesn't, but it gets us closer to what
the Vulkan API wants.

D3D12_FEATURE_DATA_D3D12_OPTIONS12::RelaxedFormatCastingSupported
should address the remaining limitations.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17368>
2022-07-06 06:15:46 +00:00
..
ci ci/dzn: Add pipeline cache tests to the include list 2022-06-28 13:02:23 +00:00
clc microsoft/clc: Add a unit test for unused image kernel args 2022-06-27 16:54:27 +00:00
compiler microsoft/compiler: Fix emit_ubo_var() 2022-06-24 17:56:56 +00:00
spirv_to_dxil microsoft: Use nir_test_mask instead of i2b(iand) 2022-06-30 18:00:32 +00:00
vulkan dzn: Take VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT into account 2022-07-06 06:15:46 +00:00
meson.build d3d12: Move the D3D12ResourceState code to the gallium driver 2022-04-20 23:45:28 -07:00