Repository navigation
feat(shader): support measured line texture sampling and partial loads - #12
p3n1cillin wants to merge 2 commits into
Conversation
|
Integration validation completed on Windows 11 / RTX 5070 617.42 at source 543acdd (cherry-pick efd11ec plus latest upstream f8c2f07). The upstream update affects contribution workflows only. The integration branch also contains the separately tracked capture diagnostics and guarded descriptor/SRT changes; cache format is 24 to distinguish that metadata layout from this review branch's format 23. Full integration build and patched runtime library target passed. CTest: 519 passed, zero failed, one intentional skip (520 total), 26.45 seconds with eight jobs. The captured startup fragment request recompiles to 43,869 SPIR-V words using the integration replay tool. Review cold-cache execution tests and native measurements are recorded above. A monitored, instrumented ASTRO BOT 01.007.000 startup run has started at this exact integration commit, with runtime hashes, shader/request/frame captures, per-thread and NVIDIA telemetry. Game result is pending; no FPS/progression claim follows from the offline replay. |
|
Integrated game validation at 543acdd (latest upstream f8c2f07) now reaches first frame presentations, then fails on a later runtime consistency check: All 21 captured shader requests pass offline recompilation. The original level-zero sampling failure and subsequent partial-load failure are passed in the live run. The monitor stopped the fatal process and all diagnostic processes exited. There were 239 flip completions / 238 intervals over 6.01 s. Eight read-back frames are byte-identical and show only a dark patterned screen, so this is not visible startup-video/gameplay progress. The short instrumented window averages 39.60 flips/s (p95 34.48 ms, p99 82.14 ms, max 843.97 ms); it does not establish gameplay performance. Peak sampled working set was 23,995.922 MiB and whole-device NVIDIA memory 3,026 MiB. The comparator rejected an FPS comparison against the previous failed-draw run (different scenario and no matching intervals). The full integration build, runtime libraries and 519 passing tests / one intentional skip remain the validation record. Private runtime hashes, logs, timings, telemetry, requests and captures are preserved. No private game artifacts were published. The remaining runtime consistency failure and dark output are unresolved; full-game progression and 60 FPS are unvalidated. |
What
Depends on #10 (and its #8 dependency). Extend the measured DIM2D-to-1D image interface to full-DMASK, 32-bit
image_sample_lzfor identity R32_FLOAT, RGBA16_FLOAT and RGBA32_FLOAT single-level/layer images, and ordinary R32_FLOAT/RGBA32_FLOAT loads with every nonzero DMASK. Unsupported instruction shapes, formats, swizzles, mip/layer ranges and samplers still throw.Use two texel fetches and float32 interpolation for measured normalized RGBA16_FLOAT 1D level-zero sampling. NVIDIA's host sampler rounded 39.515625 to 39.53125 in the transparent-border case, including the matching DIM1D instruction control. Native gfx1036 uses eight fractional interpolation bits with round-to-even, so the emitter reproduces those weights instead of using full-precision coordinates. Filter metadata is active only for half-float line images; unrelated normalized/unnormalized shaders retain identical emitted modules. Serialize the new static eligibility field and advance cache format 21 to 23. Known measurement limits are recorded in TechnicalDebt.
Tested
Runtime code tested at 8f2bdea; review head fe88caa includes the subsequent upstream workflow-only update.
Windows 11, Ryzen 5 7600X, RTX 5070, NVIDIA 617.42; GCC 15.2 Release/Ninja. Native controls use the integrated AMD gfx1036, driver 32.0.21042.62, HIP 5.7 / COMGR API 2.5:
Native measurements are on gfx1036, not console gfx1013. GPU execution fixtures use the repository's existing Navi1x console tile equations; some native gfx1036 offsets differ. No proprietary code, assets, libraries or captures are included. Vulkan validation layers were unavailable; SPIR-V Tools was disabled.
Checklist