Repository navigation
Conversation
|
Tested
AI-assisted. |
|
FLOAT readback for dcda632d on native Windows 11, RTX 3080 Ti (621.35), MSVC 19.44, and Vulkan SDK 1.4.363. I adapted the positive
The focused CTest passed with zero skips or Vulkan core or synchronization validation messages. All four embedded modules passed |
|
Additional UINT and SINT readback for dcda632d on Windows 11, RTX 3080 Ti (621.35), MSVC 19.44, and Vulkan SDK 1.4.363. A temporary
Both runs exited 0 with zero skips or Vulkan core or synchronization validation messages. The three fixture shaders passed |
|
Tested
|
|
GPU query readback for dcda632d on Windows 11, RTX 3080 Ti (621.35), MSVC 19.44, and Vulkan SDK 1.4.363. I added occlusion and pipeline-statistics queries to a temporary copy of the positive The focused CTest passed with zero skips or Vulkan core or synchronization validation messages. Query coverage was limited to the UNORM MIN/MAX cases. Synthetic inputs only. AI-assisted. |
|
Tested To extend the one-written-sample integer readback above, I used four one-bit PSO sample masks and four different RGBA values per source pixel. MIN and MAX select different sample indices across channels. The literals cover For each of Khronos validation was active on the RX 6600 and emitted no validation warnings/errors in the passing integer runs. The three synthetic fixture modules passed |
|
Tested One existing test needs updating: That's the existing check (unchanged from With that one check (and the known Other results:
AI-assisted (Claude Code). |
|
Tested dcda632 on NVIDIA GeForce RTX 4080 SUPER, driver 621.24 (Vulkan 1.4.357), Windows 11 Pro 26300, MSVC 14.44, Ninja RelWithDebInfo (fresh build folder), applied on
(AI-assisted check, Claude Code.) |
… and keeps a non-resolve mode refused
|
@h0useadv thank you, that is a real miss: |
Claimed in #8504 (comment)
@ItsNotRexed: an exe PR, as you asked.
What
Add color MIN and MAX for matching typed UNORM, FLOAT, UINT and SINT 2D resources. Vulkan samples each pixel's MSAA samples in a fragment pass, renders the per-channel result to a temporary attachment, and copies the rectangle to the requested destination offset. The source must be sampleable and the format must support a single-sample color attachment. The application's occlusion and pipeline-statistics queries exclude the helper draw.
Why
D3D12 MIN and MAX select each channel's extremum across the samples of a pixel. D3D12_RESOLVE_MODE documentation
Tested
On pod p2 (RTX 4090, cross-built with clang-cl, run under Wine),
d3d12_msaa_draw_test:dcda632da): exit 0. The new cases resolve a shifted 8x8 rectangle of the 4x UNORM target with MIN, MAX and AVERAGE throughResolveSubresourceRegion, read it back, and compare every pixel of the 64x64 image (inside the rectangle: black for MIN, cyan for MAX, the 1:3 mix for AVERAGE; outside: unchanged).867d922f0) exits 1 atlist->Close() == S_OK; the runtime logs "ResolveSubresourceRegion refused: neither an average colour resolve nor a depth or stencil one the device can replay".replay_clear_gate,replay_query_predication,replay_query_edges,d3d12_state_mappassed; the four embedded SPIR-V modules passspirv-val --target-env vulkan1.2. A local merge simulation against PR Runtime: support color ResolveSubresourceRegion DECOMPRESS #4884 merged cleanly.Not covered by the test: only UNORM is read back (FLOAT, UINT and SINT shader variants are checked only by SPIR-V validation and compile), and the exclusion of the helper draw from occlusion and pipeline-statistics queries is covered by the CPU replay checks, not by a GPU query readback.
What is left out
Color DECOMPRESS is in #4884. Cross-format and typeless resolves, and formats without Vulkan sampling or attachment support, remain outside this change.
AI-assisted: yes