7 lines
206 B
Plaintext
7 lines
206 B
Plaintext
(program
|
|
(fun vertex vs_main -> float4 (@position)
|
|
[(:= pos float4 (@position))]
|
|
(:= res float2 (float2 2 2))
|
|
(:= foo float 1)
|
|
(:= result float4 (float4 1 (* foo res) 0 1))
|
|
(return result))) |