Skip to content

WIP - Add NonSemantic.DebugDescriptor#396

Draft
spencer-lunarg wants to merge 1 commit into
KhronosGroup:mainfrom
spencer-lunarg:spencer-lunarg-debug-descriptor
Draft

WIP - Add NonSemantic.DebugDescriptor#396
spencer-lunarg wants to merge 1 commit into
KhronosGroup:mainfrom
spencer-lunarg:spencer-lunarg-debug-descriptor

Conversation

@spencer-lunarg
Copy link
Copy Markdown
Contributor

Draft for an upcoming way in the Validation Layers to provide a way to debug descriptors inside the shader

@spencer-lunarg spencer-lunarg marked this pull request as draft March 30, 2026 22:19
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.

Note, you shouldn't need to include the HTML artifacts anymore. The HTML files will be built and published when the asciidoc source is merged.

| '<id>' 'Result Type'
| 'Result <id>'
| '<id> Set'
| 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same opcode as DebugDecsriptor.

Suggested change
| 1
| 2

Comment on lines +91 to +92
'Variable' is the descriptor for which to debug.
'Variable' must be an *OpVariable* or *OpUntypedVariableKHR*. +
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This might be too limiting for SPV_EXT_descriptor_heap. Additionally the operands might not be sufficient. If it pointed at the heap.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants