Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

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.

@XAMPPRocky XAMPPRocky requested review from eddyb and khyperia March 30, 2021 10:16
@XAMPPRocky XAMPPRocky requested review from VZout and fu5ha as code owners March 30, 2021 10:16
@XAMPPRocky XAMPPRocky removed request for VZout and fu5ha March 30, 2021 10:16
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 from 7cfedea to 7f2825c Compare April 1, 2021 10:53
@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 force-pushed the spirv-builder-target branch from aadbcda to 9b0c601 Compare April 9, 2021 06:20
@XAMPPRocky XAMPPRocky force-pushed the spirv-builder-target branch from 078ef73 to 3b16f69 Compare April 9, 2021 08:21
@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 force-pushed the spirv-builder-target branch from 3b16f69 to 45e9561 Compare April 9, 2021 08:25
@XAMPPRocky XAMPPRocky enabled auto-merge (squash) April 9, 2021 10:50
@XAMPPRocky XAMPPRocky force-pushed the spirv-builder-target branch from c8feb80 to f7567f0 Compare April 12, 2021 09:42
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants