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
/
runtime
/
GLSLTypeNames.rts
1
// Ensure that GLSL type aliases compile without error
2
float f;
3
int i;
4
bool b;
5
6
vec4 main(vec2 coords) {
7
vec4 fv = vec4( vec3( vec2(f), f), f);
8
ivec4 iv = ivec4(ivec3(ivec2(i), i), i);
9
bvec4 bv = bvec4(bvec3(bvec2(b), b), b);
10
11
mat4 m = mat4(mat3(mat2(f)));
12
13
return fv;
14
}