Repository navigation
hk: lower image view minimum LOD only when enabled - #464
Merged
Merged
Conversation
Developed with Claude Code. Signed-off-by: Erik Bourget <erik@ebourget.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applications may run with minimum-LOD emulation available while leaving the Vulkan feature disabled. Include the enabled feature in the shader key and skip the lowering when a pipeline cannot use it. Keep the lowering available to shader objects.
Tested on an M5 Max (G17C). All eight minimum-LOD CTS cases passed with emulation enabled.
Hardware benchmark
Cyberpunk 2077 2.5 on a 40-core Apple M5 Max (J716c, 128 GB), Linux 7.3.0-ewb234+ on AC. Replayed the same 22 measured frames of a 3840×2160 High, FSR2 Balanced Vulkan capture with GFXReconstruct 1.0.5-dev (
ccbbb1c). The game capture needs #450, #451 and #452 on57df4db849a; the unmodified public base stops compiling its MRT fragment epilog. Only the feature differs within each pair.PR parent
57df4db849aa, proposed feature37a22c52d6b9. Tested integration commits92c9f438a005andf796ff13ceae. Build the control by cherry-picking the game prerequisites in order onto57df4db849a, then cherry-pick the feature for the candidate. Both builds used AArch64 release Honeykrisp.Run order was control/proposed, proposed/control, control/proposed. Replay throughput varied from 11.86 to 13.65 FPS across these short runs. Stage times use the replay process's DRM engine nanoseconds divided by the number of frames. Each engine is reported separately. The game’s full native-resolution T2 benchmark measures a different workload.
The short replay measured 2.54% lower median throughput for this feature in isolation. This sample does not establish a standalone throughput gain.
Reproduction and raw output
Use the GFXReconstruct replay tool with an optimized 24-frame capture of the benchmark. The private game asset hash was
2c74dea133fc0067d4a51ef3dafa699388ea0b8d132ee86300cca38b6842600f. For each build, run the same command under a 4 KiB user page personality:Reviewed with sol-loop: 1 round with GPT-6.2 Sol. Sol verdict: approved.
Created with GPT-6.2 Astra in Codex.