repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
glsl2
/
struct-05.vert
blob
96bc76f9023e3eb96347ff02d9e0a783603e6f77
1
/* FAIL - structure name conflicts with variable name in same scope */
2
3
uniform vec4 foo;
4
5
struct foo {
6
float f;
7
int i;
8
bool b;
9
};
10
11
void main()
12
{
13
foo foo;
14
15
gl_Position = gl_Vertex;
16
}