mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #2072] d3d12: name compute modules for selective GPU validation #2078
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#2078
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/2072
Author: @GGandCo
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/compute-shader-debug-names📝 Commits (2)
d046c9ed3d12: name compute modules for selective GPU validatione27fcb3Merge commit 'a73a57e133' of https://github.com/ubiquitarianism/leonida into fix/compute-shader-debug-names📊 Changes
4 files changed (+89 additions, -0 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+9 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+9 -0)📝
runtime/test/d3d12_compute_test.cpp(+1 -0)➕
scripts/check_compute_gpuav_selection.py(+70 -0)📄 Description
Claim: RT-COMPUTE-GPUAV-SELECTION — https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7172186259
Selective GPU-assisted validation matches shader-module debug names. The layer's compute modules had no such names, so selecting a library entry instrumented nothing. Name each compute module with its shader-library entry before pipeline creation, when VK_EXT_debug_utils and its naming entry point are available. Shader code and execution are unchanged.
The compute fixture now forwards its enabled debug-utils capability. An opt-in standard-library Python check runs that synthetic fixture with a matching and an unmatched GPUAV selector, verifies modified before/after SPIR-V dumps, and requires the existing compute readback checks to pass. Its caches and dumps stay in temporary directories. This adds no default CTest dependency on GPUAV.
Validation on Windows 11, Intel UHD Graphics (i5-1334U), driver 32.0.101.6314, Vulkan SDK 1.4.363.1, MSVC RelWithDebInfo, based on main
75a41f5dc:No title files or shader content are included. No playability claim. Full CTest was not run.
GPUs tested: Intel UHD Graphics, 32.0.101.6314, Windows 11.
AI-assisted: OpenAI Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.