mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 17:48:40 +00:00
R32G32B32_FLOAT/UINT/SINT/TYPELESS textures were refused ("texture format not
supported yet"). They are now R32G32B32A32 images on every GPU: most have no
optimal-tiling RGB32 image, and one that has would not avoid the repack, since
D3D12 places subresources at multiples of 512 bytes and Vulkan wants a copy's
buffer offset to be a multiple of the texel size
(VUID-vkCmdCopyBufferToImage-dstImage-07975).
- Footprints keep D3D12's 12-byte texels (compared with WARP).
- CopyTextureRegion between a texture and a buffer is repacked by the D24
compute pass (depth24_convert.comp modes 2 and 3, Depth24Job::rgb96): the
same scratch, parts and lifetime, texels of three words in the footprint and
four in the scratch, copied uninterpreted. depth24_convert.inc is
regenerated with the documented glslc command; the same glslc reproduces the
previous blob byte for byte from the previous source.
- WriteToSubresource/ReadFromSubresource take the staged copy, as D24-as-D32.
- A view's T# names GFX10_FORMAT_32_32_32_*, so alpha reads as one.
- Refused: unordered access and depth (as WARP), render targets (WARP has
them; not done, and FORMAT_SUPPORT and GetResourceAllocationInfo agree),
copies between a 96-bit and a four-channel texture, views of another
format family.
Tested on an RX 9070 XT (AMD 26.11.2), Windows 11: d3d12_rgb96_test matches
WARP and the expected texels bit for bit for 4 formats as 2D arrays with mips
and as volumes; d3d12_descriptor_test samples FLOAT, UINT and TYPELESS views.
Clean under the validation layer with sync validation; depth24_convert_test
and ctest (62) pass.
AI-assisted (Claude Code).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
278 lines
12 KiB
SQL
278 lines
12 KiB
SQL
{0x07230203,0x00010300,0x000d000b,0x0000016d,
|
|
0x00000000,0x00020011,0x00000001,0x0006000b,
|
|
0x00000001,0x4c534c47,0x6474732e,0x3035342e,
|
|
0x00000000,0x0003000e,0x00000000,0x00000001,
|
|
0x0006000f,0x00000005,0x00000004,0x6e69616d,
|
|
0x00000000,0x0000004d,0x00060010,0x00000004,
|
|
0x00000011,0x00000008,0x00000008,0x00000001,
|
|
0x00040047,0x0000004d,0x0000000b,0x0000001c,
|
|
0x00030047,0x00000051,0x00000002,0x00050048,
|
|
0x00000051,0x00000000,0x00000023,0x00000000,
|
|
0x00050048,0x00000051,0x00000001,0x00000023,
|
|
0x00000004,0x00050048,0x00000051,0x00000002,
|
|
0x00000023,0x00000008,0x00050048,0x00000051,
|
|
0x00000003,0x00000023,0x0000000c,0x00050048,
|
|
0x00000051,0x00000004,0x00000023,0x00000010,
|
|
0x00050048,0x00000051,0x00000005,0x00000023,
|
|
0x00000014,0x00050048,0x00000051,0x00000006,
|
|
0x00000023,0x00000018,0x00050048,0x00000051,
|
|
0x00000007,0x00000023,0x0000001c,0x00040047,
|
|
0x000000a8,0x00000006,0x00000004,0x00030047,
|
|
0x000000a9,0x00000002,0x00050048,0x000000a9,
|
|
0x00000000,0x00000023,0x00000000,0x00040047,
|
|
0x000000ab,0x00000021,0x00000001,0x00040047,
|
|
0x000000ab,0x00000022,0x00000000,0x00040047,
|
|
0x000000ad,0x00000006,0x00000004,0x00030047,
|
|
0x000000ae,0x00000002,0x00050048,0x000000ae,
|
|
0x00000000,0x00000023,0x00000000,0x00040047,
|
|
0x000000b0,0x00000021,0x00000000,0x00040047,
|
|
0x000000b0,0x00000022,0x00000000,0x00040047,
|
|
0x00000117,0x0000000b,0x00000019,0x00020013,
|
|
0x00000002,0x00030021,0x00000003,0x00000002,
|
|
0x00040015,0x00000006,0x00000020,0x00000000,
|
|
0x00030016,0x00000008,0x00000020,0x0004002b,
|
|
0x00000006,0x00000012,0x00000000,0x00020014,
|
|
0x00000013,0x0004002b,0x00000008,0x00000017,
|
|
0x00000000,0x00040015,0x00000019,0x00000020,
|
|
0x00000001,0x0004002b,0x00000019,0x00000020,
|
|
0x00000017,0x0004002b,0x00000006,0x00000026,
|
|
0x00000001,0x0004002b,0x00000006,0x00000035,
|
|
0x7f800000,0x0004002b,0x00000006,0x0000003b,
|
|
0x3f800000,0x0004002b,0x00000006,0x0000003f,
|
|
0x00ffffff,0x0004002b,0x00000008,0x00000043,
|
|
0x4b7fffff,0x00040017,0x00000049,0x00000006,
|
|
0x00000003,0x00040020,0x0000004c,0x00000001,
|
|
0x00000049,0x0004003b,0x0000004c,0x0000004d,
|
|
0x00000001,0x000a001e,0x00000051,0x00000006,
|
|
0x00000006,0x00000006,0x00000006,0x00000006,
|
|
0x00000006,0x00000006,0x00000006,0x00040020,
|
|
0x00000052,0x00000009,0x00000051,0x0004003b,
|
|
0x00000052,0x00000053,0x00000009,0x0004002b,
|
|
0x00000019,0x00000054,0x00000000,0x00040020,
|
|
0x00000055,0x00000009,0x00000006,0x0004002b,
|
|
0x00000019,0x0000005e,0x00000001,0x0004002b,
|
|
0x00000006,0x00000066,0x00000002,0x0004002b,
|
|
0x00000019,0x00000069,0x00000002,0x0004002b,
|
|
0x00000019,0x00000071,0x00000003,0x0004002b,
|
|
0x00000019,0x00000078,0x00000004,0x0004002b,
|
|
0x00000019,0x0000007d,0x00000006,0x0004002b,
|
|
0x00000019,0x00000084,0x00000005,0x0004002b,
|
|
0x00000006,0x0000008b,0x00000003,0x0004002b,
|
|
0x00000019,0x0000008f,0x00000007,0x0004002b,
|
|
0x00000006,0x000000a0,0x00000004,0x0003001d,
|
|
0x000000a8,0x00000006,0x0003001e,0x000000a9,
|
|
0x000000a8,0x00040020,0x000000aa,0x0000000c,
|
|
0x000000a9,0x0004003b,0x000000aa,0x000000ab,
|
|
0x0000000c,0x0003001d,0x000000ad,0x00000006,
|
|
0x0003001e,0x000000ae,0x000000ad,0x00040020,
|
|
0x000000af,0x0000000c,0x000000ae,0x0004003b,
|
|
0x000000af,0x000000b0,0x0000000c,0x00040020,
|
|
0x000000b2,0x0000000c,0x00000006,0x0004002b,
|
|
0x00000006,0x00000116,0x00000008,0x0006002c,
|
|
0x00000049,0x00000117,0x00000116,0x00000116,
|
|
0x00000026,0x0004002b,0x00000019,0x0000016c,
|
|
0x00000050,0x00050036,0x00000002,0x00000004,
|
|
0x00000000,0x00000003,0x000200f8,0x00000005,
|
|
0x000300f7,0x00000118,0x00000000,0x000300fb,
|
|
0x00000012,0x00000119,0x000200f8,0x00000119,
|
|
0x0004003d,0x00000049,0x0000004e,0x0000004d,
|
|
0x00050051,0x00000006,0x00000050,0x0000004e,
|
|
0x00000000,0x00050041,0x00000055,0x00000056,
|
|
0x00000053,0x00000054,0x0004003d,0x00000006,
|
|
0x00000057,0x00000056,0x000500ae,0x00000013,
|
|
0x00000058,0x00000050,0x00000057,0x000400a8,
|
|
0x00000013,0x00000059,0x00000058,0x000300f7,
|
|
0x0000005b,0x00000000,0x000400fa,0x00000059,
|
|
0x0000005a,0x0000005b,0x000200f8,0x0000005a,
|
|
0x00050051,0x00000006,0x0000005d,0x0000004e,
|
|
0x00000001,0x00050041,0x00000055,0x0000005f,
|
|
0x00000053,0x0000005e,0x0004003d,0x00000006,
|
|
0x00000060,0x0000005f,0x000500ae,0x00000013,
|
|
0x00000061,0x0000005d,0x00000060,0x000200f9,
|
|
0x0000005b,0x000200f8,0x0000005b,0x000700f5,
|
|
0x00000013,0x00000062,0x00000058,0x00000119,
|
|
0x00000061,0x0000005a,0x000400a8,0x00000013,
|
|
0x00000063,0x00000062,0x000300f7,0x00000065,
|
|
0x00000000,0x000400fa,0x00000063,0x00000064,
|
|
0x00000065,0x000200f8,0x00000064,0x00050051,
|
|
0x00000006,0x00000068,0x0000004e,0x00000002,
|
|
0x00050041,0x00000055,0x0000006a,0x00000053,
|
|
0x00000069,0x0004003d,0x00000006,0x0000006b,
|
|
0x0000006a,0x000500ae,0x00000013,0x0000006c,
|
|
0x00000068,0x0000006b,0x000200f9,0x00000065,
|
|
0x000200f8,0x00000065,0x000700f5,0x00000013,
|
|
0x0000006d,0x00000062,0x0000005b,0x0000006c,
|
|
0x00000064,0x000300f7,0x0000006f,0x00000000,
|
|
0x000400fa,0x0000006d,0x0000006e,0x0000006f,
|
|
0x000200f8,0x0000006e,0x000200f9,0x00000118,
|
|
0x000200f8,0x0000006f,0x00050041,0x00000055,
|
|
0x00000072,0x00000053,0x00000071,0x0004003d,
|
|
0x00000006,0x00000073,0x00000072,0x000500ae,
|
|
0x00000013,0x00000074,0x00000073,0x00000066,
|
|
0x000300f7,0x00000076,0x00000000,0x000400fa,
|
|
0x00000074,0x00000075,0x00000076,0x000200f8,
|
|
0x00000075,0x00050041,0x00000055,0x00000079,
|
|
0x00000053,0x00000078,0x0004003d,0x00000006,
|
|
0x0000007a,0x00000079,0x00050051,0x00000006,
|
|
0x0000007c,0x0000004e,0x00000002,0x00050041,
|
|
0x00000055,0x0000007e,0x00000053,0x0000007d,
|
|
0x0004003d,0x00000006,0x0000007f,0x0000007e,
|
|
0x00050084,0x00000006,0x00000080,0x0000007c,
|
|
0x0000007f,0x00050080,0x00000006,0x00000081,
|
|
0x0000007a,0x00000080,0x00050051,0x00000006,
|
|
0x00000083,0x0000004e,0x00000001,0x00050041,
|
|
0x00000055,0x00000085,0x00000053,0x00000084,
|
|
0x0004003d,0x00000006,0x00000086,0x00000085,
|
|
0x00050084,0x00000006,0x00000087,0x00000083,
|
|
0x00000086,0x00050080,0x00000006,0x00000088,
|
|
0x00000081,0x00000087,0x00050084,0x00000006,
|
|
0x0000008c,0x00000050,0x0000008b,0x00050080,
|
|
0x00000006,0x0000008d,0x00000088,0x0000008c,
|
|
0x00050041,0x00000055,0x00000090,0x00000053,
|
|
0x0000008f,0x0004003d,0x00000006,0x00000091,
|
|
0x00000090,0x00050041,0x00000055,0x00000094,
|
|
0x00000053,0x0000005e,0x0004003d,0x00000006,
|
|
0x00000095,0x00000094,0x00050084,0x00000006,
|
|
0x00000096,0x0000007c,0x00000095,0x00050080,
|
|
0x00000006,0x00000099,0x00000096,0x00000083,
|
|
0x00050084,0x00000006,0x0000009c,0x00000099,
|
|
0x00000057,0x00050080,0x00000006,0x0000009f,
|
|
0x0000009c,0x00000050,0x00050084,0x00000006,
|
|
0x000000a1,0x0000009f,0x000000a0,0x00050080,
|
|
0x00000006,0x000000a2,0x00000091,0x000000a1,
|
|
0x000500aa,0x00000013,0x000000a5,0x00000073,
|
|
0x0000008b,0x000300f7,0x000000a7,0x00000000,
|
|
0x000400fa,0x000000a5,0x000000a6,0x000000c7,
|
|
0x000200f8,0x000000a6,0x00060041,0x000000b2,
|
|
0x000000b3,0x000000b0,0x00000054,0x0000008d,
|
|
0x0004003d,0x00000006,0x000000b4,0x000000b3,
|
|
0x00060041,0x000000b2,0x000000b5,0x000000ab,
|
|
0x00000054,0x000000a2,0x0003003e,0x000000b5,
|
|
0x000000b4,0x00050080,0x00000006,0x000000b7,
|
|
0x000000a2,0x00000026,0x00050080,0x00000006,
|
|
0x000000b9,0x0000008d,0x00000026,0x00060041,
|
|
0x000000b2,0x000000ba,0x000000b0,0x00000054,
|
|
0x000000b9,0x0004003d,0x00000006,0x000000bb,
|
|
0x000000ba,0x00060041,0x000000b2,0x000000bc,
|
|
0x000000ab,0x00000054,0x000000b7,0x0003003e,
|
|
0x000000bc,0x000000bb,0x00050080,0x00000006,
|
|
0x000000be,0x000000a2,0x00000066,0x00050080,
|
|
0x00000006,0x000000c0,0x0000008d,0x00000066,
|
|
0x00060041,0x000000b2,0x000000c1,0x000000b0,
|
|
0x00000054,0x000000c0,0x0004003d,0x00000006,
|
|
0x000000c2,0x000000c1,0x00060041,0x000000b2,
|
|
0x000000c3,0x000000ab,0x00000054,0x000000be,
|
|
0x0003003e,0x000000c3,0x000000c2,0x00050080,
|
|
0x00000006,0x000000c5,0x000000a2,0x0000008b,
|
|
0x00060041,0x000000b2,0x000000c6,0x000000ab,
|
|
0x00000054,0x000000c5,0x0003003e,0x000000c6,
|
|
0x00000012,0x000200f9,0x000000a7,0x000200f8,
|
|
0x000000c7,0x00060041,0x000000b2,0x000000ca,
|
|
0x000000ab,0x00000054,0x000000a2,0x0004003d,
|
|
0x00000006,0x000000cb,0x000000ca,0x00060041,
|
|
0x000000b2,0x000000cc,0x000000b0,0x00000054,
|
|
0x0000008d,0x0003003e,0x000000cc,0x000000cb,
|
|
0x00050080,0x00000006,0x000000ce,0x0000008d,
|
|
0x00000026,0x00050080,0x00000006,0x000000d0,
|
|
0x000000a2,0x00000026,0x00060041,0x000000b2,
|
|
0x000000d1,0x000000ab,0x00000054,0x000000d0,
|
|
0x0004003d,0x00000006,0x000000d2,0x000000d1,
|
|
0x00060041,0x000000b2,0x000000d3,0x000000b0,
|
|
0x00000054,0x000000ce,0x0003003e,0x000000d3,
|
|
0x000000d2,0x00050080,0x00000006,0x000000d5,
|
|
0x0000008d,0x00000066,0x00050080,0x00000006,
|
|
0x000000d7,0x000000a2,0x00000066,0x00060041,
|
|
0x000000b2,0x000000d8,0x000000ab,0x00000054,
|
|
0x000000d7,0x0004003d,0x00000006,0x000000d9,
|
|
0x000000d8,0x00060041,0x000000b2,0x000000da,
|
|
0x000000b0,0x00000054,0x000000d5,0x0003003e,
|
|
0x000000da,0x000000d9,0x000200f9,0x000000a7,
|
|
0x000200f8,0x000000a7,0x000200f9,0x00000118,
|
|
0x000200f8,0x00000076,0x00050041,0x00000055,
|
|
0x000000dd,0x00000053,0x00000078,0x0004003d,
|
|
0x00000006,0x000000de,0x000000dd,0x00050051,
|
|
0x00000006,0x000000e0,0x0000004e,0x00000002,
|
|
0x00050041,0x00000055,0x000000e1,0x00000053,
|
|
0x0000007d,0x0004003d,0x00000006,0x000000e2,
|
|
0x000000e1,0x00050084,0x00000006,0x000000e3,
|
|
0x000000e0,0x000000e2,0x00050080,0x00000006,
|
|
0x000000e4,0x000000de,0x000000e3,0x00050051,
|
|
0x00000006,0x000000e6,0x0000004e,0x00000001,
|
|
0x00050041,0x00000055,0x000000e7,0x00000053,
|
|
0x00000084,0x0004003d,0x00000006,0x000000e8,
|
|
0x000000e7,0x00050084,0x00000006,0x000000e9,
|
|
0x000000e6,0x000000e8,0x00050080,0x00000006,
|
|
0x000000ea,0x000000e4,0x000000e9,0x00050080,
|
|
0x00000006,0x000000ed,0x000000ea,0x00000050,
|
|
0x00050041,0x00000055,0x000000ef,0x00000053,
|
|
0x0000008f,0x0004003d,0x00000006,0x000000f0,
|
|
0x000000ef,0x00050041,0x00000055,0x000000f3,
|
|
0x00000053,0x0000005e,0x0004003d,0x00000006,
|
|
0x000000f4,0x000000f3,0x00050084,0x00000006,
|
|
0x000000f5,0x000000e0,0x000000f4,0x00050080,
|
|
0x00000006,0x000000f8,0x000000f5,0x000000e6,
|
|
0x00050084,0x00000006,0x000000fb,0x000000f8,
|
|
0x00000057,0x00050080,0x00000006,0x000000fc,
|
|
0x000000f0,0x000000fb,0x00050080,0x00000006,
|
|
0x000000ff,0x000000fc,0x00000050,0x000500ab,
|
|
0x00000013,0x00000102,0x00000073,0x00000012,
|
|
0x000300f7,0x00000104,0x00000000,0x000400fa,
|
|
0x00000102,0x00000103,0x0000010e,0x000200f8,
|
|
0x00000103,0x00060041,0x000000b2,0x00000107,
|
|
0x000000b0,0x00000054,0x000000ed,0x0004003d,
|
|
0x00000006,0x00000108,0x00000107,0x000500c7,
|
|
0x00000006,0x00000109,0x00000108,0x0000003f,
|
|
0x000300f7,0x00000145,0x00000000,0x000300fb,
|
|
0x00000012,0x0000012f,0x000200f8,0x0000012f,
|
|
0x000500aa,0x00000013,0x00000131,0x00000109,
|
|
0x00000012,0x000300f7,0x00000133,0x00000000,
|
|
0x000400fa,0x00000131,0x00000132,0x00000133,
|
|
0x000200f8,0x00000132,0x000200f9,0x00000145,
|
|
0x000200f8,0x00000133,0x0006000c,0x00000019,
|
|
0x00000135,0x00000001,0x0000004b,0x00000109,
|
|
0x00050082,0x00000019,0x00000138,0x00000020,
|
|
0x00000135,0x0004007c,0x00000006,0x00000139,
|
|
0x00000138,0x000500c4,0x00000006,0x0000013a,
|
|
0x00000109,0x00000139,0x00050080,0x00000006,
|
|
0x0000013c,0x0000013a,0x00000026,0x00040070,
|
|
0x00000008,0x0000013d,0x0000013c,0x00050080,
|
|
0x00000019,0x00000140,0x00000135,0x0000016c,
|
|
0x0004007c,0x00000006,0x00000141,0x00000140,
|
|
0x000500c4,0x00000006,0x00000142,0x00000141,
|
|
0x00000020,0x0004007c,0x00000008,0x00000143,
|
|
0x00000142,0x00050085,0x00000008,0x00000144,
|
|
0x0000013d,0x00000143,0x000200f9,0x00000145,
|
|
0x000200f8,0x00000145,0x000700f5,0x00000008,
|
|
0x0000016b,0x00000017,0x00000132,0x00000144,
|
|
0x00000133,0x0004007c,0x00000006,0x0000010c,
|
|
0x0000016b,0x00060041,0x000000b2,0x0000010d,
|
|
0x000000ab,0x00000054,0x000000ff,0x0003003e,
|
|
0x0000010d,0x0000010c,0x000200f9,0x00000104,
|
|
0x000200f8,0x0000010e,0x00060041,0x000000b2,
|
|
0x00000112,0x000000ab,0x00000054,0x000000ff,
|
|
0x0004003d,0x00000006,0x00000113,0x00000112,
|
|
0x000300f7,0x00000159,0x00000000,0x000300fb,
|
|
0x00000012,0x0000014b,0x000200f8,0x0000014b,
|
|
0x000500ac,0x00000013,0x0000014d,0x00000113,
|
|
0x00000035,0x000300f7,0x0000014f,0x00000000,
|
|
0x000400fa,0x0000014d,0x0000014e,0x0000014f,
|
|
0x000200f8,0x0000014e,0x000200f9,0x00000159,
|
|
0x000200f8,0x0000014f,0x000500ae,0x00000013,
|
|
0x00000151,0x00000113,0x0000003b,0x000300f7,
|
|
0x00000153,0x00000000,0x000400fa,0x00000151,
|
|
0x00000152,0x00000153,0x000200f8,0x00000152,
|
|
0x000200f9,0x00000159,0x000200f8,0x00000153,
|
|
0x0004007c,0x00000008,0x00000155,0x00000113,
|
|
0x00050085,0x00000008,0x00000156,0x00000155,
|
|
0x00000043,0x0006000c,0x00000008,0x00000157,
|
|
0x00000001,0x00000002,0x00000156,0x0004006d,
|
|
0x00000006,0x00000158,0x00000157,0x000200f9,
|
|
0x00000159,0x000200f8,0x00000159,0x000900f5,
|
|
0x00000006,0x0000016a,0x00000012,0x0000014e,
|
|
0x0000003f,0x00000152,0x00000158,0x00000153,
|
|
0x00060041,0x000000b2,0x00000115,0x000000b0,
|
|
0x00000054,0x000000ed,0x0003003e,0x00000115,
|
|
0x0000016a,0x000200f9,0x00000104,0x000200f8,
|
|
0x00000104,0x000200f9,0x00000118,0x000200f8,
|
|
0x00000118,0x000100fd,0x00010038}
|