Harbor

branch main
showing the latest snapshot on main
workflow_vertex_builtins.glsl 207 B · Plain text
shader/tests/golden/workflow_vertex_builtins.glsl 0644 Raw
#version 450


void main() {
	uint vertex_index = gl_VertexIndex;
	uint instance_index = gl_InstanceIndex;
	float x = (float((vertex_index + instance_index)) * 0.0);
	gl_Position = vec4(x, 0.0, 0.0, 1.0);
}