mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1127] [CLOSED] gfx10: preserve the sampler volume filter #1160
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#1160
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/1127
Author: @bobcatchris
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:fix/gfx10-sampler-z-filter📝 Commits (1)
fcb3e7egfx10: preserve the sampler volume filter📊 Changes
2 files changed (+26 additions, -3 deletions)
View changed files
📝
runtime/src/gfx10_descriptors.h(+4 -2)📝
runtime/test/gfx10_descriptors_test.cpp(+22 -1)📄 Description
Claimed in the coordination issue as: D3D-GFX10-SAMPLER-Z-FILTER
Depends on: none
Fixes: none
What and why
The GFX10 sampler codec omitted WORD2
Z_FILTER[25:24].decode()therefore lost the volume filter andencode()wrote it back as zero, changing point/linear/anisotropic volume sampling on any descriptor round trip. The field is now stored independently from XY and mip filtering, with all four encodings covered. Original finding by @Kadamitas.Tested
Z_FILTER 1 dropped.gfx10_descriptors_test: passes all T#/S#/V# fields, 94 format rows, round trips and Vulkan mappings.ctest -R "^(replay_clear_gate|gfx10_descriptors)$": 2/2 passed.scripts/check_no_game_data.py: clean.GPUs tested: n/a (CPU-only descriptor codec test)
AI-assisted: yes
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.