6 lines
157 B
Plaintext
6 lines
157 B
Plaintext
(program
|
|
(fun vertex vs_main -> float4 (@position)
|
|
[(:= pos float3 (@position))]
|
|
(if (= 0 100)
|
|
(return (float4 pos 1)))
|
|
(return (float4 0)))) |