reprend #279: d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D… #2725

Merged
OreoFR merged 3 commits from upstream-pr/2725 into main 2026-11-30 17:37:04 +00:00
OreoFR commented 2026-11-30 13:24:39 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:24:39Z.


Carries #279 by @Andretuta (opened for @Zilumz1: the carried-over old PR 10009, branch ProjectLeonida:old-pr/10009), because it conflicts with main after #2566 and the reminder to merge main (https://github.com/ProjectLeonida/mandy/pull/279#issuecomment-7259373342) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.

Item: OLD-10009-CARRY (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original item OLD-10009).

What this branch is

  • The author's branch at 474b79991, unchanged (no rebase, author commits kept).
  • A merge of main (from the carry preparation of 29/11) that resolves the conflict, then a merge of current main f9f3ec4c6 (no new conflict). Both merge commits carry Co-authored-by the author.
  • Nothing else: the change itself is the original PR's; see #279 for what and why, and the verifications posted there.

What conflicted and how it was resolved

  • runtime/test/vk_test_device.h: both feature queries kept: filterMinmaxImageComponentMapping (PR) and shaderOutputViewportIndex (main).

Tests

  • On this branch (main f9f3ec4c6 merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).
  • Earlier merge (older main), Windows 11, Ninja RelWithDebInfo, MSVC: d3d12_descriptor 1/1 OK on an RTX 4070 Laptop GPU (8 GB), NVIDIA driver 621.40; gta6rt imports identical to main.
  • python -I scripts/check_no_game_data.py on every file this PR changes: clean.
  • CI on this PR covers the rest (C++ build and ctest, the full translator suite).

Depends on: none.

Needs an independent verifier before merge (red/green on another machine), as for any carry.

AI-assisted (Claude Code, oreofr-agent).

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5566150326 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2725). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-30T13:24:39Z. --- Carries #279 by @Andretuta (opened for @Zilumz1: the carried-over old PR 10009, branch `ProjectLeonida:old-pr/10009`), because it conflicts with `main` after #2566 and the reminder to merge `main` (https://github.com/ProjectLeonida/mandy/pull/279#issuecomment-7259373342) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped. Item: `OLD-10009-CARRY` (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original item `OLD-10009`). ### What this branch is - The author's branch at `474b79991`, unchanged (no rebase, author commits kept). - A merge of `main` (from the carry preparation of 29/11) that resolves the conflict, then a merge of current `main` `f9f3ec4c6` (no new conflict). Both merge commits carry `Co-authored-by` the author. - Nothing else: the change itself is the original PR's; see #279 for what and why, and the verifications posted there. ### What conflicted and how it was resolved - `runtime/test/vk_test_device.h`: both feature queries kept: `filterMinmaxImageComponentMapping` (PR) and `shaderOutputViewportIndex` (`main`). ### Tests - On this branch (`main` `f9f3ec4c6` merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run). - Earlier merge (older `main`), Windows 11, Ninja RelWithDebInfo, MSVC: `d3d12_descriptor` 1/1 OK on an RTX 4070 Laptop GPU (8 GB), NVIDIA driver 621.40; `gta6rt` imports identical to `main`. - `python -I scripts/check_no_game_data.py` on every file this PR changes: clean. - CI on this PR covers the rest (C++ build and `ctest`, the full translator suite). Depends on: none. **Needs an independent verifier before merge** (red/green on another machine), as for any carry. AI-assisted (Claude Code, oreofr-agent). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
KelboLive commented 2026-11-30 15:31:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T15:31:38Z.


Independent check on Windows/NVIDIA (not the author), at d92dc7a4a.

  • Configured the branch's runtime and built d3d12_descriptor_test (MSVC 14.52.37025, Vulkan SDK 1.4.363.0).
  • Ran it on the RTX 4070 Ti SUPER: exit 0, 0 validation errors. The sampler reduction case reports min/max (RGBA8=yes, BC1=yes, compared RGBA): min 64/64, max 64/64, alongside the existing bindless/format/depth cases.

Environment: NVIDIA RTX 4070 Ti SUPER, driver 621.01 (Windows 32.0.16.2101), Windows 11 Pro 10.0.26200.9711.

No regressions seen. Based on f9f3ec4c6; a rebase on current main before merge would keep history linear.

AI-assisted: yes (opencode).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7283142609 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2725#issuecomment-7283142609). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-30T15:31:38Z. --- Independent check on Windows/NVIDIA (not the author), at `d92dc7a4a`. - Configured the branch's `runtime` and built `d3d12_descriptor_test` (MSVC 14.52.37025, Vulkan SDK 1.4.363.0). - Ran it on the RTX 4070 Ti SUPER: exit 0, **0 validation errors**. The sampler reduction case reports `min/max (RGBA8=yes, BC1=yes, compared RGBA): min 64/64, max 64/64`, alongside the existing bindless/format/depth cases. Environment: NVIDIA RTX 4070 Ti SUPER, driver 621.01 (Windows 32.0.16.2101), Windows 11 Pro 10.0.26200.9711. No regressions seen. Based on `f9f3ec4c6`; a rebase on current `main` before merge would keep history linear. AI-assisted: yes (opencode).
MoonEyes commented 2026-11-30 15:47:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:47:19Z.


Verified by MoonEyes (another owner than OreoFR) on head d92dc7a4a merged with main be7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA). ctest -R ^d3d12_descriptor$: 1/1 passed. No red: the test uses a member this pull request adds, so it does not build against main.

Unit test only: no run of the title (this is the Vulkan path).

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7283587728 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2725#issuecomment-7283587728). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T15:47:19Z. --- Verified by MoonEyes (another owner than OreoFR) on head `d92dc7a4a` merged with `main` `be7690805`: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA). `ctest -R ^d3d12_descriptor$`: 1/1 passed. No red: the test uses a member this pull request adds, so it does not build against `main`. Unit test only: no run of the title (this is the Vulkan path). AI-assisted (Claude Code).
MoonEyes commented 2026-11-30 17:36:58 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T17:36:58Z.


Merging. Head d92dc7a4a merges cleanly with main 12b3740a1 and does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7286585008 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2725#issuecomment-7286585008). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T17:36:58Z. --- Merging. Head `d92dc7a4a` merges cleanly with `main` `12b3740a1` and does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes. AI-assisted (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2725
No description provided.