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

[Backport to 12] Support SPV_INTEL_maximum_registers extension (#2344) #2400

Merged
merged 7 commits into from
Mar 19, 2024

Conversation

KorovinVlad
Copy link

@@ -55,7 +55,7 @@ using namespace spv;
namespace SPIRV {

inline bool isValid(spv::ExecutionModel V) {
switch (V) {
switch (static_cast<uint32_t>(V)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

My guess is that cast is not needed because we don't have "internal" values as in newer release branches. Could you please check?

Copy link
Author

Choose a reason for hiding this comment

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

"Out-of-tree" builds are broken without this cast.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, that's my bad, didn't expect this. Please return the cast and we'll merge the change

@vmaksimo vmaksimo merged commit e6652c0 into KhronosGroup:llvm_release_120 Mar 19, 2024
8 of 9 checks passed
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