-
Notifications
You must be signed in to change notification settings - Fork 327
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
Name variables in GL errors #1149
Comments
As easier first step, it would be nice if we could print the type of the value. |
Ideally something like |
This wouldn't actually work. The message will get serialized to proto, where the
IIRC it does. |
Why not serialize the type-name in proto as well then? I think |
- remove the unnecessary vulkan_utils package - Separate the external API and xml parsing
Follow up for #883
We check arguments using helper functions like this: CheckGE!GLuint(end, start)
This will generate error message which includes the two relevant values, so the user should be able to tell which of the function arguments is incorrect based on that. It would be more user friendly to also include the argument as string.
If this was C++, we could just use macro CHECK_GE(end, start) which stringifies the argument and includes it in the error message. Ideally the language should support something similar.
The text was updated successfully, but these errors were encountered: