Skip to content

Fix OpVariable ordering violation in NonSemantic debug info#3692

Open
vmaksimo wants to merge 1 commit intoKhronosGroup:mainfrom
vmaksimo:fix-nonsemantic-debugfuncdef-order
Open

Fix OpVariable ordering violation in NonSemantic debug info#3692
vmaksimo wants to merge 1 commit intoKhronosGroup:mainfrom
vmaksimo:fix-nonsemantic-debugfuncdef-order

Conversation

@vmaksimo
Copy link
Copy Markdown
Contributor

SPIR-V spec section 2.16.1 requires OpVariable instructions to be first in the entry block of a function.
The translator was inserting DebugFunctionDefinition before the fix.

SPIR-V spec section 2.16.1 requires OpVariable instructions to be first
in the entry block of a function.
The translator was inserting `DebugFunctionDefinition` before the fix.
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.

2 participants