<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/test/d3d12_method_variants_test.cpp, branch main</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=main</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-23T03:40:59+00:00</updated>
<entry>
<title>Tests: check Microsoft's recorded answers where Wine and Proton have no reference</title>
<updated>2026-11-23T03:40:59+00:00</updated>
<author>
<name>Kevin Morales</name>
<email>32549527+kmorales13@users.noreply.github.com</email>
</author>
<published>2026-11-22T21:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b136ee4680c4a04c44653da4325d83cee130fbfe'/>
<id>urn:sha1:b136ee4680c4a04c44653da4325d83cee130fbfe</id>
<content type='text'>
Under Wine the host D3D12 is vkd3d and under Proton vkd3d-proton, and
Proton's EnumWarpAdapter returns the hardware adapter, so the host and
WARP references six tests compare with are not Microsoft's runtime:
d3d12_r9g9b9e5_uav, d3d12_method_variants and d3d12_sampler2 fail under
Proton (the last two crash inside vkd3d-proton), d3d12_fence_timing and
d3d12_subresource_copy under both, d3d12_private_data under Wine.

The six skip the host comparison there with hostwine::host_is_wine() and
check the layer against Microsoft's answers recorded in the test instead,
so Wine and Proton still check values. d3d12_r9g9b9e5_uav gets WARP's
words for its six clear cases, from the packing rule in
docs/d3d12_vulkan.md. d3d12_subresource_copy and d3d12_private_data get
answer tables, taken from the records that Windows runs on NVIDIA and AMD
compared with Microsoft's runtime with no mismatches; LEONIDA_D3D49_DUMP=1
prints the host's record on Windows to regenerate them. The other three
already had recorded answers. Windows still compares with the live
runtime too.
</content>
</entry>
<entry>
<title>d3d12: validate Device10 barrier layouts, clear values and placed/reserved descs</title>
<updated>2026-11-22T21:13:58+00:00</updated>
<author>
<name>Wasler</name>
<email>artemgulenko824@gmail.com</email>
</author>
<published>2026-11-22T21:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d5317f01490a77a8d7815f4c906df908d47bc003'/>
<id>urn:sha1:d5317f01490a77a8d7815f4c906df908d47bc003</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge origin/main into d3d90-castable-placed (resolve #1083 conflicts)</title>
<updated>2026-11-22T07:23:18+00:00</updated>
<author>
<name>abilliontokens</name>
<email>39147239+abilliontokens@users.noreply.github.com</email>
</author>
<published>2026-11-22T07:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2933767eaca7bacfac739e9c2bc2c84633221804'/>
<id>urn:sha1:2933767eaca7bacfac739e9c2bc2c84633221804</id>
<content type='text'>
Keep-both resolutions per #313's conflict analysis: main's ExecuteIndirect /
acceleration-structure / debug-marker / depth24 / node-mask features alongside
the stack's arena, compute and draw paths. Main's indirect and AS offsets gain
the arena's buffer_offset / heap_base compensation; AS resources on default
heaps get their GENERIC structure over the arena range. Reset clears
stencil_ref_set_ next to reset_state, and OMSetStencilRef sets it. README takes
main's (the crypto-token lines stay deleted).
</content>
</entry>
<entry>
<title>d3d12: accept castable formats on committed textures</title>
<updated>2026-11-22T05:56:17+00:00</updated>
<author>
<name>Ayinaki</name>
<email>ayinakidev@gmail.com</email>
</author>
<published>2026-11-22T01:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=01c0a564855f8082f60577ca41b0971b24be4183'/>
<id>urn:sha1:01c0a564855f8082f60577ca41b0971b24be4183</id>
<content type='text'>
Keep the creation-time castable list on the resource, reject an SRV format
that is neither the resource format nor listed, and allow listed same-size
cross-family casts such as R8G8B8A8_UINT to R32_UINT.
</content>
</entry>
<entry>
<title>Tests: run the eight unregistered D3D12 GPU tests under ctest</title>
<updated>2026-11-22T05:33:45+00:00</updated>
<author>
<name>sanuk369</name>
<email>224479491+quackottu@users.noreply.github.com</email>
</author>
<published>2026-11-22T04:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=817a5e9f5e49d7e58eb8570a5a3be5aa129ef5a8'/>
<id>urn:sha1:817a5e9f5e49d7e58eb8570a5a3be5aa129ef5a8</id>
<content type='text'>
d3d12_clear, d3d12_com, d3d12_descriptor, d3d12_method_variants,
d3d12_resource_desc, d3d12_sampler2, d3d12_typeless_rtv and d3d12_uav_clear were
built but never added with add_test, so ctest and CI never ran them. Each now
exits 77 when there is no Vulkan GPU (DeviceStatus::unavailable), as
d3d12_vulkan_device_test does, and is registered with SKIP_RETURN_CODE 77.

(cherry picked from commit 2af37e5da368dd130ba23db385e812635cb1a768)
</content>
</entry>
<entry>
<title>Support R10G10B10_XR_BIAS_A2_UNORM textures</title>
<updated>2026-11-22T03:39:24+00:00</updated>
<author>
<name>Ayinaki</name>
<email>ayinakidev@gmail.com</email>
</author>
<published>2026-11-22T02:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ab1ff9f9c5aef8c13abcb0fa9fc6e28d52f063a8'/>
<id>urn:sha1:ab1ff9f9c5aef8c13abcb0fa9fc6e28d52f063a8</id>
<content type='text'>
Map XR_BIAS to the bit-compatible A2B10G10R10 UNORM Vulkan format, report only the 2D and cast-within-bit-layout support the layer provides, and refuse the mip, MSAA and 3D cases the PC runtime refuses. Test creation, allocation, footprints and the resource-method variants.
</content>
</entry>
<entry>
<title>runtime: the 1/2/3 method variants on the Vulkan device (D3D-28, part 1)</title>
<updated>2026-11-22T01:03:35+00:00</updated>
<author>
<name>kotorvr</name>
<email>332716892+kotorvr@users.noreply.github.com</email>
</author>
<published>2026-11-22T00:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=382daba42f79b30ddbc4e6d8197464f36f290360'/>
<id>urn:sha1:382daba42f79b30ddbc4e6d8197464f36f290360</id>
<content type='text'>
CreateCommittedResource1/2/3, CreateCommandQueue1 and GetCopyableFootprints1
as thin wrappers over the existing methods. D3D12_RESOURCE_DESC1 drops to
D3D12_RESOURCE_DESC; the initial state or barrier layout is unused, because new
textures start UNDEFINED and move on first use. The newer arguments are answered
as the PC runtime answers them (measured on an RTX 4090, driver 621.14):

- a protected resource session: E_INVALIDARG (no session support reported);
- a sampler-feedback mip region: E_INVALIDARG on textures, ignored on buffers;
  GetCopyableFootprints1 returns its failure answer for such a texture;
- a buffer's initial layout other than UNDEFINED: E_INVALIDARG;
- a castable count with a null list: no list;
- a castable list: E_INVALIDARG, since it needs RelaxedFormatCastingSupported,
  which the layer does not report (D3D12_OPTIONS12 is unanswered);
- CreateCommandQueue1's creator ID: ignored.

d3d12_method_variants_test compares each variant with its base method, runs the
edge cases and, when the host has a D3D12 device, compares each answer with the
PC runtime live. Thanks to ezwinxdlmao for the probe notes in #156.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
