diff options
| author | ismailchaka1 <chakankar111@gmail.com> | 2026-11-22 02:00:15 +0000 |
|---|---|---|
| committer | ismailchaka1 <chakankar111@gmail.com> | 2026-11-22 02:00:15 +0000 |
| commit | 9b70afedb85dcb4908171fc67ffaa25c8b3513b2 (patch) | |
| tree | 095cc759f36decd4b1b7eadedf982e610679e19d /runtime/src/root_signature.cpp | |
| parent | c432cdce127ed2d22a99aa6ef57d91db4a10b5bb (diff) | |
Runtime: B4G4R4A4_UNORM textures (D3D-61)
CreateCommittedResource refused DXGI_FORMAT_B4G4R4A4_UNORM. It now maps
to VK_FORMAT_A4R4G4B4_UNORM_PACK16: DXGI names channels from the low bits
up and Vulkan from the high bits down, so both have B in bits 0-3 and A
in 12-15. Vulkan 1.3 requires sampling it. Copies use two-byte texels,
and the shader-resource view is a 4_4_4_4_UNORM T#, which the GFX10
table already had.
d3d12_descriptor_test uploads an 8x8 texture with a different nibble in
every channel of every texel, checks the footprint (two-byte rows), and
samples it through set 0: all 64 texels match, each nibble n read as
n * 17.
Diffstat (limited to 'runtime/src/root_signature.cpp')
0 files changed, 0 insertions, 0 deletions