-
Notifications
You must be signed in to change notification settings - Fork 275
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
[xml] Unused groups #360
Comments
And now i actually used notepad++'s search - there is certainly no use of these groups, at least in .xml files. |
But still, some more investigation needed... For instance And this is just one randomly picked group, i didn't (yet) checked all. But now i see that at least commands need to be checked before that. |
I'm not sure exactly what you're saying here. There are definitely GetPixelMap*iv <command> tags, and they are definitely referred to from the GL_VERSION_1_0 <feature> tag (and also from the core/compatibility bifurcation that happened later on, since they are compatibility profile interfaces). It may be that some of the group definitions ended up being unreachable due to changes to the tagging over time that weren't reflected in the underlying definitions, and such unused groups should be removed. |
I'm talking about other If i understand right - for every |
They should be present, starting at line 19170 of the current gl.xml - do you not see them in your view of the repo? |
Oh, now i see them... I was probably too sleepy when checked it. I also looked at search history in notepad - it was also there when i first checked. |
With this regard, I intend to publicize our GLSpecTools which we've developed and used internally as part of our ongoing effort to help ensure group correctness, perhaps as a pull-request check idk I'll have to have a chat with oddhack about that at some point when I have a bit more time. I'll try and get a conclusive list of unused groups, ungrouped enums, and functions not using group tags at some point in the near future. |
More or less a duplicate of #361 as the same principle, but we should keep this one open. This sadly won't be fixed as part of my upcoming PR. |
Here is list of all groups, which are defined using
group
attribute on<enum>
tag, but aren't used:I didn't check anything other then
group
attributes of<proto>
and<param>
tags in<command>
tag. But if i understand correctly - there is no other use for it. Please correct if i'm wrong.The text was updated successfully, but these errors were encountered: