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

Allow unsigned int for nonzero base instance #6120

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Jan 2, 2024

A regression was introduced by Refactor create stage vars (#6059)
because it created the BaseInstance variable as an int in all cases it
was created for the option vk-support-nonzero-base-instance enabled. In
some cases it was used as an unsigned int.

This comment get the type for BaseInstance from the type of the instance
id variable, and adds a test for unsigned.

Fixes #6118.

A regression was introduced by Refactor create stage vars (microsoft#6059)
because it created the BaseInstance variable as an int in all cases it
was created for the option vk-support-nonzero-base-instance enabled. In
some cases it was used as an unsigned int.

This comment get the type for BaseInstance from the type of the instance
id variable, and adds a test for unsigned.

Fixes microsoft#6118.
@s-perron s-perron requested a review from cassiebeckley January 2, 2024 19:29
@s-perron s-perron enabled auto-merge (squash) January 2, 2024 19:30
@s-perron s-perron merged commit 30114a5 into microsoft:main Jan 3, 2024
10 checks passed
@s-perron s-perron deleted the i6118 branch September 17, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[SPIR-V] change breaks existing functionality
3 participants