projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
EndStreamPrimitive not supported when there is #extension GL_ARB_gpu_shader5
[platform/upstream/glslang.git]
/
Test
/
310runtimeArray.vert
1
#version 310 es
2
3
precision highp float;
4
layout(location=0) out float o;
5
6
struct S { float f; };
7
buffer b1 { S s[]; };
8
buffer b2 { S s[]; } b2name;
9
buffer b3 { S s[]; } b3name[];
10
buffer b4 { S s[]; } b4name[4];
11
12
void main()
13
{
14
o = s[5].f;
15
o += b2name.s[6].f;
16
o += b3name[3].s[7].f;
17
o += b4name[2].s[8].f;
18
}