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

Add new handling for SPIR-V targets #559

Merged
merged 3 commits into from
Apr 12, 2021
Merged

Add new handling for SPIR-V targets #559

merged 3 commits into from
Apr 12, 2021

Conversation

XAMPPRocky
Copy link
Member

This PR adds a target argument that you can set a different target environment from spirv-unknown-unknown with spirv-builder.

Copy link
Contributor

@khyperia khyperia left a comment

Choose a reason for hiding this comment

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

Approved pending comment

@khyperia
Copy link
Contributor

Also, we should think about deriving spirv_version from the target triple in the compiler, instead of having it be a separate option

@XAMPPRocky

This comment has been minimized.

@XAMPPRocky

This comment has been minimized.

@khyperia

This comment has been minimized.

@XAMPPRocky

This comment has been minimized.

@XAMPPRocky XAMPPRocky force-pushed the spirv-builder-target branch 2 times, most recently from 821d779 to 3cdd8c6 Compare April 1, 2021 11:32
@XAMPPRocky XAMPPRocky changed the title Add target argument to spirv-builder Add new handling for SPIR-V targets Apr 9, 2021
@XAMPPRocky XAMPPRocky requested a review from khyperia April 9, 2021 08:23
@XAMPPRocky XAMPPRocky enabled auto-merge (squash) April 9, 2021 10:50
Previously these were compiled for vulkan environments, now they're
compiled to spv1.3 by default.
@XAMPPRocky XAMPPRocky merged commit b631178 into main Apr 12, 2021
@XAMPPRocky XAMPPRocky deleted the spirv-builder-target branch April 12, 2021 11:19
XAMPPRocky added a commit that referenced this pull request May 3, 2021
* Add new handling for SPIR-V targets

* Ensure target is always three components
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