mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
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#1233
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/1201
Author: @TimIdle
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:oldpr-10009-minmax-mapping📝 Commits (1)
5bfd8a6d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D-994)📊 Changes
4 files changed (+35 additions, -7 deletions)
View changed files
📝
runtime/shims/d3d12_com.h(+4 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+11 -0)📝
runtime/test/d3d12_descriptor_test.cpp(+12 -7)📝
runtime/test/vk_test_device.h(+8 -0)📄 Description
Claimed in the coordination issue as: OLD-10009 (claim)
What and why
This carries forward
old-pr/10009by @Zilumz1 (draft #279). The commit is cherry-picked ontomainunchanged, with the author kept.Without
VkPhysicalDeviceSamplerFilterMinmaxProperties::filterMinmaxImageComponentMapping, a minimum or maximum reduction defines only the R component of a sample (Vulkan specification, Texel Filtering). G, B and A are undefined there (D3D-994, Polaris on the AMD Windows driver). The layer now reads the property, logs once when a min/max sampler is created without it, andd3d12_descriptor_testcompares only R on such a device, all four channels elsewhere.Tested
Native Windows 11 10.0.26300, MSVC 19.44, RelWithDebInfo,
LEONIDA_REQUIRE_VULKAN=ON, onmain364ab4eplus the commit.d3d12_descriptor_testsampler reduction min/max (RGBA8=yes, BC1=yes, compared RGBA): min 64/64, max 64/64ctest -j 6gameinputdisabled.The RTX 2050 reports
filterMinmaxImageComponentMapping, so this run covers the full RGBA path and shows the property is read. The R-only path needs a device without it, such as the Polaris card D3D-994 names. I could not run that here.GPUs tested: NVIDIA GeForce RTX 2050 (Ampere GA107, laptop), driver 621.24, Windows 11
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (No translator rule here.)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.