Harbor

branch main
showing the latest snapshot on main
workflow_vertex_builtins.luma 260 B · Plain text
shader/tests/shaders/workflow_vertex_builtins.luma 0644 Raw
-- Workflow vertex builtin namespace test.

vertex main
	out position: vec4 @builtin(position)
do
	let vertex_index = vertex.index
	let instance_index = vertex.instance
	let x = float(vertex_index + instance_index) * 0.0
	position = vec4(x, 0.0, 0.0, 1.0)
end