1
2layout (location = 1) out int id;
3void main() {
4    id = gl_InstanceID;
5}
6