Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use disassemble API from SPIRV-Tools #6001

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jkwak-work
Copy link
Collaborator

This commit uses C API version of SPIRV disassemble function rather than calling spirv-dis.exe.

This allows us to use a correct version of SPIRV disassble function that Slangc.exe is using.

The implementation is mostly copied from external/spirv-tools/tools/dis/dis.cpp, which is a source file for building spirv-dis.exe.

This commit uses C API version of SPIRV disassemble function rather than
calling spirv-dis.exe.

This allows us to use a correct version of SPIRV disassble function that
Slangc.exe is using.
@jkwak-work jkwak-work added the pr: non-breaking PRs without breaking changes label Jan 3, 2025
@jkwak-work jkwak-work requested a review from cheneym2 January 3, 2025 23:07
@jkwak-work jkwak-work self-assigned this Jan 3, 2025
@jkwak-work jkwak-work requested a review from a team as a code owner January 3, 2025 23:07
@jkwak-work jkwak-work requested a review from expipiplus1 January 3, 2025 23:08
@jkwak-work
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

slangbot commented Jan 3, 2025

🌈 Formatted, please merge the changes from this PR

@jkwak-work
Copy link
Collaborator Author

Converting to draft while working on the failing test

@jkwak-work jkwak-work marked this pull request as draft January 4, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants