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

Rename WGPUPopErrorScopeStatus_EmptyStack -> Error, change message rules #434

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x requested a review from lokokung November 23, 2024 03:45
@@ -637,7 +637,7 @@ typedef enum WGPUPopErrorScopeStatus {
* `0x00000003`.
* The error scope stack could not be popped, because it was empty.
*/
WGPUPopErrorScopeStatus_EmptyStack = 0x00000003,
WGPUPopErrorScopeStatus_Error = 0x00000003,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I called this Error instead of ValidationError because I thought WGPUPopErrorScopeStatus_ValidationError vs WGPUErrorType_Validation would be really confusing.

Hopefully just Error is not too bad.

@kainino0x kainino0x enabled auto-merge (squash) November 25, 2024 22:23
@kainino0x kainino0x merged commit f62de46 into webgpu-native:main Nov 25, 2024
5 checks passed
@kainino0x kainino0x deleted the emptystack branch November 25, 2024 22:24
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.

popErrorScope status when stack is empty?
2 participants