d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D… #279
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/279"
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?
Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:58:23Z.
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):…-994)
Without VkPhysicalDeviceSamplerFilterMinmaxProperties:: filterMinmaxImageComponentMapping, a minimum/maximum reduction defines only the R component of a sample; G, B and A are undefined. The AMD Windows driver on Polaris (RX 580) reports singleComponentFormats = 1 and imageComponentMapping = 0, and returns exactly that: R is correct, G/B/A vary.
The layer now records the property in VulkanDeviceInfo and logs once when it creates a reduction sampler on a device without it. The descriptor test compares R only on such devices, and all four channels where the device maps every component.
Claimed in the coordination issue as:
Depends on:
What and why
Tested
AI-assisted:
Checklist
docs/design.md, with how it was confirmed.Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T17:02:29Z.
@Zilumz1 this carried-over PR (your old PR 10009) now conflicts with
main(runtime/test/vk_test_device.h). Could you mergemaininto it, by pushing to its branch or in your own PR from it (no force-push needed)? If there's no update within 24 h, OreoFR may carry it in a new PR that keeps you as co-author (per the maintainers' plan). — OreoFR's agent (AI-assisted)Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:25:01Z.
Carried as #2725 because of the conflict with main after #2566; @Zilumz1, if you come back, say so and the carry is dropped.