<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/src/resource_tiling.h, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-24T00:42:49+00:00</updated>
<entry>
<title>fix(runtime): validate TiledKind and D3D12 bounds in resource_tiling</title>
<updated>2026-11-24T00:42:49+00:00</updated>
<author>
<name>Persudes</name>
<email>360035573+Persudes@users.noreply.github.com</email>
</author>
<published>2026-11-23T12:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e7f17716f1b3a02018cd4f0e03591d601eb9c068'/>
<id>urn:sha1:e7f17716f1b3a02018cd4f0e03591d601eb9c068</id>
<content type='text'>
(cherry picked from commit b07c4747f16af7cebd50d9d8a93f952fde560784)
</content>
</entry>
<entry>
<title>resource_tiling: the test's file header and the layout counts match the AMD rule (review of #2728)</title>
<updated>2026-11-22T18:13:25+00:00</updated>
<author>
<name>Størm</name>
<email>52797150+AC-Storm-YT@users.noreply.github.com</email>
</author>
<published>2026-11-22T18:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=980807bc25c42467e18638e82e09c6d316b505c4'/>
<id>urn:sha1:980807bc25c42467e18638e82e09c6d316b505c4</id>
<content type='text'>
The test file header still called the packed-tile count this layer's own
tight rule; it now says the split and the packed count follow AMD's PC
runtime, with AMD's values in the AmdCase table. resource_tiling.h names
the 47 layouts of #868 for the split and those 47 plus 32 deeper volumes
for the packed count.

AI-assisted (Claude Code).
</content>
</entry>
<entry>
<title>resource_tiling_test: drop four volume rows #868 already had (review of #2728)</title>
<updated>2026-11-22T18:11:26+00:00</updated>
<author>
<name>Størm</name>
<email>52797150+AC-Storm-YT@users.noreply.github.com</email>
</author>
<published>2026-11-22T18:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=310b2eb6d09e17617a3a02035357d22c318badf6'/>
<id>urn:sha1:310b2eb6d09e17617a3a02035357d22c318badf6</id>
<content type='text'>
8x8x64 R8, 16x16x16 RGBA8, 16x16x17 RGBA8 and 8x8x8 RGBA32F were in the
table twice with the same expectations. The deep-volume set is 32 new
layouts, 79 distinct in all; the header comment and docs/d3d12_vulkan.md
section 4.2 now say so.

AI-assisted (Claude Code).
</content>
</entry>
<entry>
<title>Runtime: reserved resources report AMD's packed tile count (D3D-65 follow-up)</title>
<updated>2026-11-22T17:56:50+00:00</updated>
<author>
<name>Størm</name>
<email>52797150+AC-Storm-YT@users.noreply.github.com</email>
</author>
<published>2026-11-22T17:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e14b88fc5ca00480df02ee4c0b5433cb1c2143ef'/>
<id>urn:sha1:e14b88fc5ca00480df02ee4c0b5433cb1c2143ef</id>
<content type='text'>
The layer gave the packed tail its tight linear size in whole tiles. AMD's PC
runtime gives it one tile per tile-depth slice it spans: ceil(depth of the
first packed mip / tile depth), so 1 for every 2D layout and a step at each
tile depth for volumes (8x8x32 R8: 1 tile, 8x8x33: 2, 8x8x256: 8), even where
the bytes would fit in fewer (16x16x128 RGBA8: 8 tiles for 3 tiles of data).

Measured on an RX 9070 XT (RDNA4, 32.0.31041.1004) and a Ryzen 7 9800X3D iGPU
(RDNA2, 32.0.21045.5002), identical on both: the rule fits all 83 layouts, the
47 from #868 (where it explains the two deep volumes AMD gave 2 tiles) and 36
new volumes whose tail is deeper than a tile, including tails that start after
standard mips. It matters once sparse textures (D3D-285) reach mip tails.

- src/resource_tiling.h: packed tiles = max(1, tight size, tail depth slices).
- resource_tiling_test: the two deep volumes expect 2, plus the 36 new volumes
  with AMD's values.
- docs/d3d12_vulkan.md 4.2: the rule and the measurement.

AI-assisted (Claude Code).
</content>
</entry>
<entry>
<title>Merge pull request #1980 from totonii</title>
<updated>2026-11-22T15:40:05+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-22T15:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=7e49e1b2e47b138d4a39ec54121705775df9cc3f'/>
<id>urn:sha1:7e49e1b2e47b138d4a39ec54121705775df9cc3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support sparse tile mappings for reserved D3D12 buffers</title>
<updated>2026-11-22T15:24:19+00:00</updated>
<author>
<name>gabrielsteglich</name>
<email>63128571+gabrielsteglich@users.noreply.github.com</email>
</author>
<published>2026-11-22T05:27:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b17531d021b4ec7c81707f7393f392edde969d1c'/>
<id>urn:sha1:b17531d021b4ec7c81707f7393f392edde969d1c</id>
<content type='text'>
Depends on D3D-16 (PR #286).
</content>
</entry>
<entry>
<title>fix(resource_tiling): guard integer overflows, shape divide-by-zero, and mip shift UB</title>
<updated>2026-11-22T15:21:37+00:00</updated>
<author>
<name>totonii</name>
<email>totonicontato@gmail.com</email>
</author>
<published>2026-11-22T15:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e517b75fb21fb73d0f0649803fc72918934cb944'/>
<id>urn:sha1:e517b75fb21fb73d0f0649803fc72918934cb944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>d3d12: handle 4x MSAA and invalid MSAA in tiled allocation queries (D3D-191)</title>
<updated>2026-11-22T13:36:05+00:00</updated>
<author>
<name>Serrambi</name>
<email>10066198+Serrambi@users.noreply.github.com</email>
</author>
<published>2026-11-22T13:36:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=83160a8114697092bfbe44fdc569bb7a1bf25715'/>
<id>urn:sha1:83160a8114697092bfbe44fdc569bb7a1bf25715</id>
<content type='text'>
</content>
</entry>
<entry>
<title>d3d12: GetResourceAllocationInfo follows the PC runtime's 4 KiB, totals and flag rules</title>
<updated>2026-11-22T08:15:20+00:00</updated>
<author>
<name>quackottu</name>
<email>224479491+quackottu@users.noreply.github.com</email>
</author>
<published>2026-11-22T08:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=15aa49c0066fc2044ec5e68eca04b8e2be02dd5a'/>
<id>urn:sha1:15aa49c0066fc2044ec5e68eca04b8e2be02dd5a</id>
<content type='text'>
4 KiB alignment now counts the 4 KiB tiles covering the top mip of one
slice (at most 16; a volume's depth counts), instead of fitting the whole
image in 64 KiB. Multi-resource totals round up to the largest alignment,
saturate instead of wrapping, and an empty query is {0, 1}. Simultaneous
access with depth-stencil or MSAA, and a depth-stencil volume, are refused.
All measured against the host runtime on an RTX 5070 and WARP.
</content>
</entry>
<entry>
<title>Runtime: reserved resources follow AMD's standard/packed mip split (D3D-65)</title>
<updated>2026-11-22T03:57:55+00:00</updated>
<author>
<name>Størm</name>
<email>52797150+AC-Storm-YT@users.noreply.github.com</email>
</author>
<published>2026-11-22T02:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0bad3d7aed3e8a5d7a820582f5c70f2d2c1a322f'/>
<id>urn:sha1:0bad3d7aed3e8a5d7a820582f5c70f2d2c1a322f</id>
<content type='text'>
D3D12 leaves where the packed tail starts to the driver (#654 made the test
accept any host's split). The layer used NVIDIA's: packed from the first mip
smaller than a tile on any axis. The console is RDNA2, so it now follows AMD's
PC runtime, as @traeb0n (D3D-20) recommended on #634.

AMD's rule, measured on an RX 9070 XT (RDNA4, 32.0.31041.1004) and a Ryzen 7
9800X3D iGPU (RDNA2, 32.0.21045.5002), identical on both: a mip stays standard
while it is wider than half the tile or taller than the tile; depth does not
count. It fits all 47 measured layouts: compare_tiling's 17 and 30 edge cases
(a mip exactly at or just past half a tile, thin and tall textures, non-square
2D and volume tiles). The rule first proposed on #374 ("every axis at most half
the tile's largest side") fitted the 17 but missed four tall or deep ones.

- src/resource_tiling.h: the new split; a standard mip smaller than a tile
  takes one tile on that axis.
- resource_tiling_test: the five layouts that change expect the AMD values,
  plus a table of all 47 AMD layouts checking standard and packed mips, the
  packed start and NumTilesForPackedMips (AMD's in 45; for the two deep
  volumes that pack from mip 0, AMD reserves 2 tiles and the layer's tight
  count gives 1).
- docs/d3d12_vulkan.md 4.2: the rule and the measurement.

AI-assisted (Claude Code).
</content>
</entry>
</feed>
