shader: keep alignment displacement in single-SSBO ranges #447
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!447
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/global-ssbo-range"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem and change
The single-SSBO helper computes its logical end from the aligned descriptor base, losing the alignment displacement. With guest base
0x1004, size 2 and alignment 16, it incorrectly ends the range at0x1002and rejects the requested halfword.Use the original guest base plus size, preserving the aligned lower bound, 64-bit arithmetic, descriptor-length cap and table path. Normally merge
honest-eta(a598b9f) and retain its new narrow-store CAS implementation and mesh fixes. The existing translator-source stamp invalidates translated-program caches when this emitter changes.Validation
spirv-val --target-env vulkan1.3 --uniform-buffer-standard-layout. The layout option is needed by the single-SSBO fixture profiles' uniform blocks.Scope
This validates the lowering contract and generated SPIR-V, without executing a shader, driver or game. It does not establish rendering symptoms, odd-address behavior or device feature enablement. Hosted checks for the refreshed head are pending.