mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #959] gfx10: preserve the separate volume filter in sampler words #995
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#995
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/959
Author: @Kadamitas
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/gfx10-sampler-z-filter📝 Commits (1)
c614d98gfx10: preserve the separate volume filter in sampler words📊 Changes
2 files changed (+20 additions, -3 deletions)
View changed files
📝
runtime/src/gfx10_descriptors.h(+12 -3)📝
runtime/test/gfx10_descriptors_test.cpp(+8 -0)📄 Description
Claimed in the coordination issue as: Preserve the separate Z filter in GFX10 sampler descriptor words. This is a descriptive claim for an unlisted item. A formal ID was requested in the original finding.
What and why
A sampler with
word2 = 0x01000000loses its volume filter when decoded and re-encoded ona28927849.Z_FILTERoccupies bits 25–24, between the XY filters andMIP_FILTER. Preserving those two bits lets the codec reproduce the sampler words supplied by the application. The change is confined to the descriptor representation and its CPU test. Independent reproductionTested
Built
runtime/test/gfx10_descriptors_test.cppwith MinGW-w64 GCC 15.2,-std=c++20 -O2and Vulkan headers on Windows x64. The test passed the point and linear encodings, all nine combinations of the defined Z and mip filter values, and the existing descriptor and 94-format checks.git diff --checkand the repository game-data guard passed for both changed files.GPUs tested: n/a. All changes and checks here concern CPU descriptor encoding.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.