You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.
in int gl_VertexID;
in int gl_InstanceID;
in int gl_DrawID; // Requires GLSL 4.60 or ARB_shader_draw_parameters
in int gl_BaseVertex; // Requires GLSL 4.60 or ARB_shader_draw_parameters
in int gl_BaseInstance; // Requires GLSL 4.60 or ARB_shader_draw_parameters
@msiglreith Yes I think that looks pretty good, but it does bind types to specific information like type qualifiers. I posted some ideas in #26 to make this more "reusable".
Of course my "new" proposed syntax might seem too alien
Currently this is how
PerVertex
is implementedAn alternative would be to output the PerVertex information
Then there are other builtin variables
The text was updated successfully, but these errors were encountered: