mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1008] [MERGED] Use wave64 graphics tiers on fixed 32-wide devices (RT-WAVE64-GRAPHICS-TIER) #1045
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#1045
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/1008
Author: @sodove
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:runtime/wave64-graphics-tier📝 Commits (2)
acef4faHonor wave64 graphics tiers on fixed 32-wide devices (RT-WAVE64-GRAPHICS-TIER)40b393aMerge main into RT-WAVE64-GRAPHICS-TIER (#1008)📊 Changes
1 file changed (+27 additions, -0 deletions)
View changed files
📝
runtime/test/subgroup_size_test.cpp(+27 -0)📄 Description
Claimed in #14 as
RT-WAVE64-GRAPHICS-TIER.What and why
On a fixed 32-lane device, the runtime warned about every native wave64 graphics shader, including shaders the translator had classified as safe to run in two halves. The shader library now reads
wave64_graphics. For tier A or B on a vertex, pixel or geometry stage, the subgroup decision recordsgraphics_halveswith no required size or flags. A native width of 64 still takes precedence where available. Tier C and older or unrecognized metadata keep the width warning.This changes the per-stage decision and diagnostic. The runtime already submitted the pipeline in all three cases. The translator and generated modules are unchanged.
Tested
shader_library,subgroup_sizeandd3d12_drawpassed. The index-to-decision regression failed on the base revision before the fix.graphics_halves,graphics_halves, andunavailable. Only C warned. All three draws completed without requesting a subgroup size.GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 610.74, Windows 11 build 26100.7623.
AI-assisted: yes, OpenAI Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.