<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/test/command_list_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-29T21:43:46+00:00</updated>
<entry>
<title>runtime: programmable sample positions only for multisampled targets (RT-SAMPLE-LOCATIONS-MSAA-ONLY)</title>
<updated>2026-11-29T21:43:46+00:00</updated>
<author>
<name>DadaCap</name>
<email>dadacap@dadacap.me</email>
</author>
<published>2026-11-29T21:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d1539971a96ff2b4ee287489441909d343b9a89c'/>
<id>urn:sha1:d1539971a96ff2b4ee287489441909d343b9a89c</id>
<content type='text'>
#778 filled the sample-locations grids from 1 sample upwards, so every 1x depth-stencil image was created
sample-locations compatible and carried sample locations through its transitions. D3D12 only has programmable
sample positions for multisampled targets; since #778 the world phase loses the device on an RTX 5080. Keep 1 sample
out (SamplePositions::programmable_count): 1x depth images are plain again, MSAA keeps the feature.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01Gt9hwPPpwX5RYWwXCnj43U
</content>
</entry>
<entry>
<title>Merge main into d3d-sample-positions</title>
<updated>2026-11-25T08:56:55+00:00</updated>
<author>
<name>kawaii-shakal</name>
<email>deusex1998@gmail.com</email>
</author>
<published>2026-11-25T08:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a3e2088fd61303a908e94887fefb2f7d023ce195'/>
<id>urn:sha1:a3e2088fd61303a908e94887fefb2f7d023ce195</id>
<content type='text'>
Conflicts, all kept from both sides:
- GraphicsPipeline: main's rectangle_stage took bit 9, so custom_samples
  moves to bit 10; sample grids sit next to main's async_build.
- The pipeline variant appends VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT to
  main's dyn_list (8 entries at most) and keeps main's lazy shader modules.
- initialize() takes main's per-aspect zeroing and depth-UAV paths and still
  passes the active sample positions to every barrier.
- prepare_draw keeps main's skip/quad-index handling and the sample
  positions argument; emit_commands keeps active_samples, including main's
  clear-pattern round trip and the release (into UNDEFINED) barriers.
- Texture creation keeps main's 1D/3D UAV limits and the sample grid.
- Both new replay_texture_barrier_test cases are kept.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>d3d12: an enhanced texture barrier into LAYOUT_UNDEFINED closes and keeps the layout (D3D-BARRIER-INTO-UNDEFINED)</title>
<updated>2026-11-24T17:20:21+00:00</updated>
<author>
<name>milk4sale</name>
<email>53350507+milk4sale@users.noreply.github.com</email>
</author>
<published>2026-11-24T17:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=37c5af12a45f256767e0274b0d1a2d0a858968c8'/>
<id>urn:sha1:37c5af12a45f256767e0274b0d1a2d0a858968c8</id>
<content type='text'>
CommandList::barrier(TextureBarrier) refused LayoutAfter = UNDEFINED from a
defined layout, so the list's Close failed. D3D12 allows it: the contents are
no longer needed, as before the memory is aliased. WARP closes such a list
(measured on Windows 11 26340 in #984), and #984 reports that the retail title
ends a depth buffer's use this way and takes the failed Close as fatal.

The rule goes. Vulkan has no transition into UNDEFINED
(VUID-VkImageMemoryBarrier2-newLayout-01198), so replay gives each piece a
barrier with oldLayout = newLayout, the layout the tracker has for it, which
orders the accesses and changes nothing in the image; the tracker keeps the
layouts. A piece that was never used gets no barrier and is not zero-filled
for it. The next barrier starts from UNDEFINED and discards, as before.

UNDEFINED -&gt; UNDEFINED is not touched here: that is #600.

The barrier half of item 2 of the split proposed in #984, carried onto main
from Moriz82's integration branch (command_list.h, the emit change and the
command_list_test, replay_texture_barrier_test and d3d12_close_parity_test
cases), restricted to a defined LayoutBefore, with more cases and two GPU
tests added.

Tests:
- command_list_test, replay_texture_barrier_test (CPU): the recorded barrier;
  kept layouts over mips in two layouts, with the discard flag and without a
  tracker; an unused image released without a barrier or a zero-fill; the
  barrier from UNDEFINED that follows.
- d3d12_close_parity_test: three enhanced-barrier rows (116 cases, 85 match).
- vk_command_replay_test part K (GPU): a colour target, a depth buffer whose
  planes are in two layouts and an unused image released; the target used
  again and read back.
- d3d12_com_test (GPU, D3D12 list and queue): a depth buffer cleared,
  released, taken from UNDEFINED again, cleared and read back.

Co-authored-by: Moriz82 &lt;72836413+Moriz82@users.noreply.github.com&gt;
Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>d3d12: replay programmable sample positions (D3D-SAMPLE-POSITIONS)</title>
<updated>2026-11-24T13:41:32+00:00</updated>
<author>
<name>Codex</name>
<email>codex@users.noreply.github.com</email>
</author>
<published>2026-11-24T13:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=27781f7f9b296fcdbac5c86792c2f2c2b308ba9b'/>
<id>urn:sha1:27781f7f9b296fcdbac5c86792c2f2c2b308ba9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>d3d12: a depth clear outside [0, 1], NaN, or with no clear flag no longer fails the list</title>
<updated>2026-11-23T21:31:56+00:00</updated>
<author>
<name>evilclanker9000</name>
<email>45567075+evilclanker9000@users.noreply.github.com</email>
</author>
<published>2026-11-23T21:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3ce953ae806909e03aefbcf6c2866e7430df851e'/>
<id>urn:sha1:3ce953ae806909e03aefbcf6c2866e7430df851e</id>
<content type='text'>
`CommandList::clear_depth_stencil` (`runtime/src/command_list.h`) refused a `ClearDepthStencilView` whose depth was
outside [0, 1] or NaN, and one whose `D3D12_CLEAR_FLAGS` were 0, so `Close` answered `E_INVALIDARG` and the whole
`ExecuteCommandLists` submission was dropped. Windows' D3D12 closes those lists: on WARP a `D32_FLOAT` target keeps
1.5, -0.5 and NaN exactly as given, and a clear that names no plane clears nothing. `d3d12_clear_test` now reads those
back on WARP and on the layer, and `d3d12_close_parity_test` measures the four `Close` verdicts.

A title that clears depth with a computed value (or wraps the clear in a flag mask that can be 0) lost that frame's
depth clear and, with it, the whole submission's work. The call is now recorded with the depth as given (a D16 target
still quantizes at replay) or, with no plane named, recorded as nothing.

d3d12_clear_test adds three read-back comparisons (1.5/-0.5, NaN, flags 0), command_list_test asserts the accepted
calls and the stored values, and the four close-parity rows move from the known-difference table to `match`.
</content>
</entry>
<entry>
<title>d3d12: reset predication in ClearState and align SetPredication / AtomicCopyBuffer validation (#6815)</title>
<updated>2026-11-23T18:32:05+00:00</updated>
<author>
<name>Dennis Schöneberg</name>
<email>schoenebergde@gmail.com</email>
</author>
<published>2026-11-23T18:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=1599683cafa5d046c5e2bc91b5f3d8ad2b9caa5f'/>
<id>urn:sha1:1599683cafa5d046c5e2bc91b5f3d8ad2b9caa5f</id>
<content type='text'>
Squash-merged after diff review of PR #6815</content>
</entry>
<entry>
<title>d3d12: validate DXR acceleration-structure prebuild and recording inputs (#6825)</title>
<updated>2026-11-23T15:49:28+00:00</updated>
<author>
<name>Dennis Schöneberg</name>
<email>schoenebergde@gmail.com</email>
</author>
<published>2026-11-23T15:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2c72b0d28147d336a106f35d0ee76cd6635652dd'/>
<id>urn:sha1:2c72b0d28147d336a106f35d0ee76cd6635652dd</id>
<content type='text'>
Squash-merged after diff review of PR #6825 - d3d12: validate DXR acceleration-structure prebuild and recording inputs</content>
</entry>
<entry>
<title>Merge pull request #4038 from pmilewsskiedu-gif</title>
<updated>2026-11-23T04:10:40+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0539527a1f45d5b4bf5bc471b4f25413356b2939'/>
<id>urn:sha1:0539527a1f45d5b4bf5bc471b4f25413356b2939</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>test: assert legal no-op copies emit no recorded commands</title>
<updated>2026-11-22T23:45:33+00:00</updated>
<author>
<name>pmilewsskiedu-gif</name>
<email>pmilewsskiedu-gif@users.noreply.github.com</email>
</author>
<published>2026-11-22T23:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=24e3b9683e693a671071c7a39d9f78ae0b639c1d'/>
<id>urn:sha1:24e3b9683e693a671071c7a39d9f78ae0b639c1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: align command-list no-op copy expectations</title>
<updated>2026-11-22T23:39:53+00:00</updated>
<author>
<name>pmilewsskiedu-gif</name>
<email>pmilewsskiedu-gif@users.noreply.github.com</email>
</author>
<published>2026-11-22T23:39:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=af835743789de65b82f38b3bc24c1cc036fa09a0'/>
<id>urn:sha1:af835743789de65b82f38b3bc24c1cc036fa09a0</id>
<content type='text'>
</content>
</entry>
</feed>
