projects
/
platform
/
core
/
uifw
/
rive-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git]
/
submodule
/
skia
/
resources
/
sksl
/
shared
/
Structs.sksl
1
struct A {
2
int x;
3
int y;
4
} a1, a2;
5
A a3;
6
7
struct B {
8
float x;
9
float y[2];
10
A z;
11
};
12
B b1, b2, b3;
13
14
void main() {
15
a1.x = 0;
16
b1.x = 0;
17
sk_FragColor.r = half(a1.x) + half(b1.x);
18
}