blob: c543334b2753946bcaaa5ba3acb4c1aa69dc4020 [file] [log] [blame]
#version 310 es
struct PushConstants {
uint first_instance;
};
layout(location=0) uniform PushConstants push_constants;
vec4 tint_symbol(uint b) {
return vec4(float((b + push_constants.first_instance)));
}
void main() {
gl_PointSize = 1.0;
vec4 inner_result = tint_symbol(uint(gl_InstanceID));
gl_Position = inner_result;
gl_Position.y = -(gl_Position.y);
gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
return;
}