10 lines
143 B
Plaintext
10 lines
143 B
Plaintext
|
inline half basic(half x) {
|
||
|
return x * 2;
|
||
|
}
|
||
|
|
||
|
void main() {
|
||
|
sk_FragColor.x = basic(1);
|
||
|
half y = 2;
|
||
|
sk_FragColor.y = basic(y);
|
||
|
}
|