skia2/tests/sksl/shared/InstanceID.glsl

6 lines
75 B
Plaintext
Raw Normal View History

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