6 lines
115 B
Plaintext
6 lines
115 B
Plaintext
|
|
half x = 10;
|
||
|
|
@emitCode { fragBuilder->codeAppendf("half y = %d\n", x * 2); }
|
||
|
|
half4 main() {
|
||
|
|
return half4(1);
|
||
|
|
}
|