Open ArielG-NV opened 2 weeks ago
Can we also make sure every _Internal_Atom
has a corresponding External_Atom
? that way we can simply remove the prefixing _
when printing, so the user can specify the intended capability instead of using the internal ones.
we certainly can print without the prefix of _
, I will add it to the issue.
_Internal_Atom has a corresponding External_Atom
I can add this to the 'capabilities generator' as well to enforce this policy?
Yes we should have that validation check in the generator.
Example:
def _GL_ARB_gpu_shader5 : _GLSL_150;
anddef _GL_ARB_shader_texture_image_samples : _GLSL_150
{glsl, _GLSL_130, _GLSL_140, _GLSL_150, _GL_ARB_gpu_shader5, _GL_ARB_shader_texture_image_samples}
{_GL_ARB_gpu_shader5, _GL_ARB_shader_texture_image_samples}
print without the prefix of
_
(_Internal_Atoms
)all
_Internal_Atoms
should have an equivalentExternal_Atom
so users have no need to touch_Internal_Atoms
(this also allows us to ban/warn any use of_Internal_Atoms