mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
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#272
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/220
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9955📝 Commits (1)
7342eadd3d12: validate CreateShaderResourceView descriptors📊 Changes
3 files changed (+508 additions, -12 deletions)
View changed files
📝
runtime/CMakeLists.txt(+8 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+41 -12)➕
runtime/test/d3d12_srv_validation_test.cpp(+459 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as:
#5156(comment), carried over from#5275Reopens
#5275, which was closed in the PR reset, rebased onto current main. The patch applied cleanly.What and why
This brings non-MSAA/non-volume
CreateShaderResourceViewvalidation up to parity with the existing MSAA/volume checks:DXGI_FORMAT_UNKNOWN) is rejected, and so is a typeless view format, on every dimension.An invalid view leaves the destination slot zeroed (a null descriptor). The PR also adds
d3d12_srv_validation_test.Tested
#5275head cfe2e6d (the same code before the rebase), withd3d12_srv_validation_test: 16 valid cases accepted, 90 invalid cases rejected, 0 Vulkan validation errors.AI-assisted: yes (Claude)
Checklist
docs/design.md, with how it was confirmed. (n/a: no translator change)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.