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