mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #1953] [MERGED] d3d12, test: pass device_.f16_half_top_location in lazy graphics pipeline stage_words (RT-LAZY-PIPELINE-F16-TOP-LOCATION) #1960
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#1960
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/1953
Author: @abnalstlll-byte
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:feat/rt-lazy-pipeline-f16-top-location📝 Commits (1)
8dc07b3d3d12, test: unify f16 halves linking helper and pass top_location in lazy stage_words (RT-LAZY-PIPELINE-F16-TOP-LOCATION)📊 Changes
4 files changed (+267 additions, -6 deletions)
View changed files
📝
runtime/shims/d3d12_com.h(+5 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+30 -5)📝
runtime/test/d3d12_f16_halves_test.cpp(+213 -1)📝
runtime/test/spirv_f16_halves_test.cpp(+19 -0)📄 Description
Summary
In
runtime/shims/d3d12_vulkan_device.cpp:stage_words(), passdevice_.f16_half_top_locationwhen re-linking--f16-interp-fallbackhalves vialeonida::link_f16_halves(), matchingcreate_graphics()at line 8482.Previously,
stage_words()omitted the 6thtop_locationargument, causing it to default to 29. On devices wheremaxVertexOutputComponents < 124(e.g. 64 components ->top_location = 14), lazy pipeline compilation could relocate vertex output locations beyond the hardware capability limit.Validation
runtime/test/spirv_f16_halves_test.cppverifying that customtop_location = 14correctly bounds relocated output locations to<= 14.spirv_f16_halves_testpass.test_text_write_line_endings.py.check_no_game_data.pyclean; synthetic tests only, no game assets or GPU required.AI-assisted (Claude Code)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.