7 lines
187 B
Plaintext
7 lines
187 B
Plaintext
vertex main :: (pos : float4 @position) -> float4 @position {
|
|
res : float2 = float2(2.0, 2.0);
|
|
foo : float = 1.0;
|
|
result : float4 = float4(1.0, foo * res, 0.0, 1.0);
|
|
return result;
|
|
}
|