10 lines
133 B
Plaintext
10 lines
133 B
Plaintext
|
inline void outParameter(inout half x) {
|
||
|
x *= 2;
|
||
|
}
|
||
|
|
||
|
void main() {
|
||
|
half x = 1;
|
||
|
outParameter(x);
|
||
|
sk_FragColor.x = x;
|
||
|
}
|