summaryrefslogtreecommitdiffstats
path: root/external/spirv
diff options
context:
space:
mode:
authorGangzheng Tong <tonggangzheng@gmail.com>2025-09-10 00:14:05 -0700
committerGitHub <noreply@github.com>2025-09-10 07:14:05 +0000
commit2020a102e9e0ea2f39a0f2b2a75085c3607ce734 (patch)
tree2fb3782981a60c1151df06ad178c863d6f9c16a4 /external/spirv
parent43dffcde78227113a0e62b02857eaf4ed6ea6e7e (diff)
Check if debugVar for is debuggable types in the legalization pass (#8326)
## Problem When generic functions with debug variables were specialized with concrete types containing non-debuggable fields (e.g., `StructuredBuffer`), the IR cloning process would create invalid `DebugVar` instructions without checking if the substituted types remained debuggable. ## Solution This fix adds a defensive check in the legalization pass that removes the debugVar created for the non-debuggable types. --------- Co-authored-by: slangbot <ellieh+slangbot@nvidia.com> Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'external/spirv')
0 files changed, 0 insertions, 0 deletions