7 lines
172 B
Plaintext
7 lines
172 B
Plaintext
|
void inc1(out float x) { x++; }
|
||
|
void inc4(out float4 x) { x += half4(1); }
|
||
|
|
||
|
void test_a() { inc1(0); }
|
||
|
void test_b() { inc4(float4(0)); }
|
||
|
void test_c() { inc1(sqrt(1)); }
|