forked from KhronosGroup/SPIRV-Headers
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add HLSL generator #3
Open
alichraghi
wants to merge
18
commits into
Devsh-Graphics-Programming:header_4_hlsl
Choose a base branch
from
alichraghi:header_4_hlsl
base: header_4_hlsl
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
20034bb
Add HLSL generator
alichraghi 2146029
hlsl_generator: fix formatting and add use is_pointer_v for bitcast
alichraghi 9b33a29
hlsl_generator: ignore instructions with kernel capability
alichraghi 3f41681
hlsl_generator: emit needed capabilities for overloaded instructions
alichraghi d27eff5
hlsl_generator: don't emit instructions with clashing capabilities
alichraghi 62f3976
hlsl_generator: skip OpenCL+INTEL specific instructions
alichraghi 78d5eab
hlsl_generator: add checks for final bitcast overload
alichraghi 5b34f6d
hlsl_generator: add missing capability for BDA load/store
alichraghi 481e3bd
hlsl_generator: add type constraint for bit instructions
alichraghi 5a13b58
hlsl_generator: fix vector instructions type
alichraghi 08de8a5
hlsl_generator: add missing invocation instructions
alichraghi c9da81a
hlsl_generator: add missing capability of some builtins
alichraghi 725bdb4
hlsl_generator: fix typo
alichraghi 9778007
hlsl_generator: fix another typo
alichraghi e0919e8
hlsl_generator: update pointer_t impl
alichraghi a2e0b6a
hlsl_generator: don't emit unneccesary overloads
alichraghi c387d96
hlsl_generator: handwritten BDA instructions
alichraghi 5b9371a
hlsl_generator: generate glsl.std extended instructions
alichraghi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only
is_
should be implemented via structsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wdym? it's from the snippet you sent here #3 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I'm dumb.
Still the
is_pointer_v
is wrong cause you're checking for being a spir-v type, notOpTypePointer