Read colour textures in the requested format and reuse tile offsets #370
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!370
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-370"
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?
@TaynanGT on GitHub · 2026-11-27 20:09 UTC · original
TaynanGT:perf/streamed-textures-nov27→main· +59365 −5346 · 203 files · 646 commits · closed without mergingThe renderer was reading some colour textures with the wrong transfer function. On my RTX 4090, a mid-grey texel returned 0.50196 through an sRGB view. With AnoHunted's fix from Marvisak/VIctory#331 it returns 0.21582, close to the expected 0.21586. The linear and default views of that linear texture still return 0.50196. The GPU test covers both directions across seven format pairs. In a separate 256-colour ramp, converting the GPU's sRGB reads back to 8-bit display values recovered all 768 input channels.
Texture uploads now reuse the offset tables and overlap checks for each tile pattern, building on Vladimir-Human's converter in #191. Each copy still checks its mip dimensions, row pitch and buffer lengths. I also adapted Xavi Fortes's two-slot descriptor binding from XaviFortes/VIctory-RDNA@c43982ea2c. It keeps the view and sampler heaps alive and avoids a temporary allocation when binding them.
All three CI jobs passed, as did the release tests for victory-formats (49 passed, eight ignored). I'm checking the gameplay result separately at 3840 × 2160 with DLSS Quality and frame generation enabled. Rendered, generated and presented frames are counted separately.
@TaynanGT on GitHub · 2026-11-30 17:11 UTC · original
Superseded:
mainhas moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the currentmain.Pull request closed