skia2/tests/sksl/shared/VertexID.glsl

6 lines
73 B
Plaintext
Raw Normal View History

layout (location = 1) out int id;
void main() {
id = gl_VertexID;
}