mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #2216] subgroup_size: reject malformed device size ranges #2220
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#2220
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/2216
Author: @whoalin1
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:subgroup-malformed-caps📝 Commits (1)
a286c48subgroup_size: reject malformed device size ranges📊 Changes
2 files changed (+75 additions, -4 deletions)
View changed files
📝
runtime/src/subgroup_size.h(+8 -4)📝
runtime/test/subgroup_size_test.cpp(+67 -0)📄 Description
Summary
requiredSubgroupSizedevice_default/unknown_devicefallbacks when a default size is or is not availableItem: SUBGROUP-MALFORMED-CAPS
This carries forward the still-uncarried fix in old-pr/9881, originally written by Andretuta, reapplied and verified on current main.
Tests
Under the local machine coordination lock:
subgroup_size_testagainst the unpatched header fails at the first half-zero-range expectationsubgroup size decision: AMD-like, NVIDIA-like, old RADV, limits, create-info chain and query OKgit diff --cached --check— passA full CMake configure is not possible in this shell because it does not initialize the Windows SDK environment; the test was instead compiled directly with the same MSVC 14.44 toolset and Vulkan SDK include path used by the existing configured build. No game files or GPU.
AI-assisted with Devin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.