Keep both packed and volume textures in the bindless readback test. Place the volume upload beyond the UINT texture so the RGB9E5 upload cannot overwrite its first depth slice.
An Arc B580 (Battlemage) on Windows 11, driver 32.0.101.9175, reports
maxPushConstantsSize = 256 (#166, rtrexmass), so D3D-14's uniform-buffer
fallback never engages there. The doc said Intel Arc (Alchemist, Battlemage)
exposes 128. Section 8.1 and open question 13 now say the figure depends on
the OS or driver and name the missing piece (an Arc run on Linux/ANV); the
Linux/ANV cause itself is stated as a guess, not a finding.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
From SuarezPM's list in #634, each point checked against main first:
- design.md: ps_scc_mask32 is no longer "not run on a GPU yet" (it passes on
an RTX 4050 native and emulated, a Radeon 740M and, per #634, an RTX 2060
SUPER); ps_med3_mods, the nine ps_f16_* fixtures and ms_v5_workgroup also
pass on the RTX 4050 and the Radeon 740M.
- shader_validation.md: the GPU runners are no longer "future work" (names
the four tools); the 16-bit/memory section was duplicated verbatim (lines
269-292 and 335-358), the second copy is removed.
- pipeline_check.md: vk_pipeline_check does create graphics pipelines
(vkCreateGraphicsPipelines); what it does not do is draw with them.
- valu_fuzz.py: the mem family generates dword..dwordx4 only; the docstring
listed byte and short forms that MEM_OPS never produces.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review of #645: the RDNA2 run is aslan2142's and the RDNA3.5 run is
AlxcBTW's, and tools/crosslane_fuzz.py still calls the FI=0 inactive-source
case unmeasured and files it as hyp_only regardless of what the translator
does, so the text no longer ties that classification to the translator.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Second review of #622: the runtime never reads an image's size out of a T#.
A T# that was not registered (hand-built or zeroed) misses the descriptor
hash table, gets index 0, and index 0 is a 1x1 image of zeros, so even
pixel (0,0) reads 0 here. The "(0,0) only" pattern is from the reporter's own
layer and is now labelled as a report, not reproduced.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review of #647: #576 only closes step 1 (the BC6H/BC7 block rebuilders), not
step 3 (BC6H/BC7 pixel decoders for ttpf_mips.py check), and its tracker ID
is ASSET-38 (ASSET-5 is the old #156 ID its description uses).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The layer stores D24 as D32_SFLOAT_S8_UINT where the GPU has no D24 (the
Radeon 880M, AMD generally). Footprint copies of the depth plane now convert
through a compute pass: an upload turns the 24-bit words into the nearest
floats of d / 16777215, a readback quantises floats back (float multiply by
16777215, round to nearest even, as WARP and AMD's D3D12 driver do) and writes
0 in the unspecified top byte. Clears store the float of the quantised value,
so a texture reads back as D3D's quantisation of the clear value.
- src/depth24.h, vulkan_depth24.h, depth24_convert.comp (+ compiled SPIR-V):
reference conversion, the converter (pipeline, scratch, descriptors freed
once the submission completes) and the shader.
- vulkan_replay.h: depth24_as_float binding flag, convert jobs prepared with the
list and run around the copy, depth clear value.
- depth24_convert_test: all 16777216 words to float and back, 16777216 float
patterns against the reference, a pitched copy; d3d12_depth24_compare.h:
5215 clear values (whole-view and rectangle) against the host.
- d3d12_copy_compare.h: the D24 case now compares upload and readback with the
host instead of only the bit-preserving copies.
Depends on #610.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CreateDepthStencilView refused D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY, so the descriptor held an
empty TargetView and any clear through it failed when the list was recorded. Multisample textures
have one mip, so the view is {resource, mip 0, FirstArraySlice, ArraySize}; the replay already
checks the range against the image and clears through a view of those layers.
d3d12_vulkan_device_test: a 4-layer 4x multisampled D32 texture, a view of slices 1-2 captures
that range and its clear replays; a view of slices 3-4 is refused at execute
(invalid_subresource). D3D12 can't copy a multisampled texture to a buffer, so the cleared
values are not read back. Without the change the test fails at the captured-range check.
docs/d3d12_vulkan.md: drop the duplicated RTV/DSV bullet and list the new dimension. The 1D and
1D-array DSVs need 1D textures first (D3D-63, #561).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R24_UNORM_X8_TYPELESS (D24S8) and R32_FLOAT_X8X24_TYPELESS (D32S8) views
were refused ("view format not supported for this texture: 46") and wrote
a null descriptor, so shadow maps and depth reads of these textures found
nothing. They now write a T# of the texture's own depth format
(8_24_UNORM, X24_8_32_FLOAT) with the depth in R, which set 0 views
through the depth aspect.
d3d12_descriptor_test checks both formats next to their stencil views:
same address, the depth format's code, R from X.
Depends on: #668
Volume depth belongs in the T# depth field, while its Vulkan view has a single array layer. Route matching descriptors through the existing 3D binding so a shader can select W slices and use a view-relative mip.
PlaneSlice 1 of a depth-stencil texture, viewed as X24_TYPELESS_G8_UINT
or X32_TYPELESS_G8X24_UINT, now writes an 8_UINT T# (the format of the
console's separate stencil surface) at the texture's address, with the
eight bits in G and R, B, A as 0, 0, 1, as D3D12 returns them. set 0
views it in the image's own format with the stencil aspect.
A plane past 1, plane 1 of a texture without stencil, or another view
format stays a null descriptor with a log. d3d12_descriptor_test decodes
both stencil formats and checks the refusals.
#544, #549 and #577 merged without a row in the contract table, which
AGENTS.md asks for. One row per group, each with the semantics (checked
against the RDNA2 ISA pseudocode), what is not handled (clamp on the SAD and
lerp ops) and how it was confirmed (the CPU tests added by the PR); none is
GPU-checked.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The row said the shader bounds-checks image_load against the T# size. The
translator lowers image_load to OpImageFetch/OpImageRead and never compares
coordinates with the T# width/height; it is the runtime that takes the image
size from the T# (stored as size - 1), so a zeroed descriptor is a 1x1 image.
Wording from rafaelpssz's review of #622.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>