Skip to content

[SPIR-V] Add debug type for acceleration structure - #6562

Merged
Nathan Gauër (Keenuts) merged 1 commit into
microsoft:mainfrom
rj123-nv:accel_struct_debug_type
May 13, 2024
Merged

Nathan Gauër (Keenuts) merged 1 commit into
microsoft:mainfrom
rj123-nv:accel_struct_debug_type

Conversation

@rj123-nv

Copy link
Copy Markdown
Collaborator
  • This change adds a switch case for TK_AccelerationStructureNV in lowerToDebugType
  • Before, compiling a shader for vulkan containing an acceleration structure and using -fspv-debug=vulkan-with-source would cause a crash.

Fixes #5113

- This change adds a switch case for TK_AccelerationStructureNV in lowerToDebugType
- Before, compiling a shader for vulkan containing an acceleration structure and
  using -fspv-debug=vulkan-with-source would cause a crash.

Fixes microsoft#5113
@rj123-nv
rj123-nv requested a review from a team as a code owner April 23, 2024 20:21

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this fix and adding a test, looks good to me!

@Keenuts Nathan Gauër (Keenuts) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@Keenuts
Nathan Gauër (Keenuts) merged commit f6d1759 into microsoft:main May 13, 2024
Mxr (SjMxr233) pushed a commit to ShaderHelper/DirectXShaderCompiler that referenced this pull request Jul 24, 2025
- This change adds a switch case for TK_AccelerationStructureNV in
lowerToDebugType
- Before, compiling a shader for vulkan containing an acceleration
structure and using -fspv-debug=vulkan-with-source would cause a crash.

Fixes microsoft#5113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[SPIR-V] Failed to compile raytracing shaders with "-fspv-debug=vulkan-with-source"

3 participants