Repository navigation
Distinguish depth writes from clear-only pixels with a two-clear sweep - #6501
kacper-serewis wants to merge 14 commits into
Conversation
…ir pass-through geometry shader (VKS_GS)
…lback; the 61 are the 16-bit interpolants
… that is not on main yet
…ent; a bary-fallback shader with no companion is reported before launch
…Leonida into feat/ps-sweep-readback
|
Tested I built
The two tests that need the worker ( Other runs on this head: Limits: I did not run a sweep of real shaders (that needs a work folder, which I do not use). |
|
CPU-only review of One remaining validation gap: Synthetic inputs only. AI-assisted. |
TEST-PS-SWEEP-TWO-CLEAR claim
Depends on: #6458
Depends on: #6373
Depends on: #5678
Depends on: #4847
Review commit 503a71b above #6458. Pass
--two-clearto both runs. Each worker gets the same modules, bindings, inputs, color clear, single sample, ALWAYS comparison and enabled depth writes. Only the D32 clear changes from 1.0 to 0.0. Both comparison modes report per-tag counts of identical words, words following the clear and other changes, plus cross-tag depth differences at each clear. Color or occlusion changes between repeats invalidate the control. Reports use samples_passed for the query count and drop the former depth_written_pixels alias. Determinism is required to infer stable output. A shader without explicit depth can write rasterized depth.Windows, GeForce RTX 5070, driver 616.56. Built the worker with LLVM-MinGW. All 22 sweep tests passed, including equal-color synthetic constant-depth and discard controls. At clear 1.0 the write of 1.0 and discard matched at all 1,024 pixels. At clear 0.0 they differed at all 1,024. Three text line-ending tests passed.
Private cached #5347 parent/head, six previously selected explicit-depth pairs. All six matched across versions at both clears and had clear-only color. In three pairs all 1,024 words held 1.0 across clears on both versions, with 1,024 samples passed. In the other three all words followed both clears and zero samples passed. No mixed pixels. Scope is the six supported pairs, synthetic inputs and this device. AI-assisted.