Repository navigation
Conversation
lixonik
left a comment
There was a problem hiding this comment.
Built gta6rt with MSVC at this head and ran its fresh-process fixture with --require-hit on Windows 11. It confirmed an application-cache hit and passed the negative cases for a different shader cache, missing/header-only entries, a mixed selection, and external seed data. The fixture also verified that journal contents and timestamps stayed unchanged. GPU: NVIDIA GeForce RTX 5070, driver 610.88. No findings from these synthetic checks.
AI-assisted.
|
Independent verification of head Windows 11 Pro, RTX 4070 SUPER (NVIDIA 621.01), MSVC 19.52.37029, RelWithDebInfo.
Diff read: the verify path opens the journal entry read-only, with a size limit, and No game files used. AI-assisted (Claude Code). |
Windows 11 + MSVC
|
timbot103
left a comment
There was a problem hiding this comment.
Static audit of b5682061b against b6bf3aa0b. No builds, tests, or GPU runs were performed. The Vulkan 1.3 path enables pipelineCreationCacheControl before the verifier can set the cache-only flag, as required by VUID-VkComputePipelineCreateInfo-pipelineCreationCacheControl-02878. The verifier exits during setup when that path is unavailable and requires valid application-cache-hit feedback for a hit.
- Major
runtime/shims/d3d12_vulkan_device.cpp:11778can pass a partially truncated journal blob to Vulkan. Keeping the compatible header and some payload passes the current checks, but the supplied size then differs from the size returned byvkGetPipelineCacheData, violatingVUID-VkPipelineCacheCreateInfo-initialDataSize-00768. Record and validate the original length and a checksum before handing the blob to Vulkan, and add a fixture case that preserves the header and part of the payload. - Minor
runtime/CMakeLists.txt:4545can report a passing test even if the verifier never confirms a hit. The default fixture accepts an unverified result after warmup atscripts/check_precompile_verify.py:123, and the wrong-cache check atscripts/check_precompile_verify.py:145gives the same expected outcome for a compile-required result and a successful pipeline without hit feedback. Add a deterministic test that asserts the cache-only flag and verifies both the hit and compile-required cases.
AI-assisted.
Claimed in the coordination issue as RT-NATIVE-COMPUTE-WARMUP.
What and why
The offline compute compiler from #2098 can skip an entry when the cache file has a compatible header. A compatible file can still miss the requested pipeline on the next boot. This adds
gta6rt --precompile-pipelines --verifyto check the selected entries in a fresh process before starting the game. It uses the existing shader library, pipeline keys, layouts, and selection options.Each probe supplies just that entry’s local journal file to Vulkan and sets
FAIL_ON_PIPELINE_COMPILE_REQUIRED. A verified entry requires valid application-cache-hit feedback from the driver. The command reports missing files, unconfirmed hits, and errors. It exits successfully only for a nonempty, fully verified selection. The probe leaves journal bytes and modification times intact and performs no cache repair. This also lets someone measure what a repair such as #2179 accomplished.The new mode is based directly on main. It has no dependency on the open DXBC helper in #1308.
Tested
gta6rtwith MSVC, RelWithDebInfo, on Windows 11.--require-hiton an NVIDIA GeForce RTX 5070 Ti (610.74) and AMD Radeon(TM) Graphics (32.0.21045.29003). Both drivers confirmed the intended hit. The fixture also covers a valid cache from a different shader, missing files, header-only files, mixed selections with missing input, and unchanged contents and timestamps.precompile_verifyand the four pipeline-cache file, store, journal, and snapshot tests. The semantic suite ran 6,351 tests across 498 files with zero failing files. All three text line-ending tests passed. The changed-file game-data scan andgit diff --checkpassed.AI-assisted: yes.