repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cl: Don't use device_infos if num_device_infos == 0
[piglit.git]
/
tests
/
glslparsertest
/
shaders
/
struct2.frag
blob
7fdef6e8d4b032ce57ba587cc50324c910244552
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
struct s {
8
int i = 1.0; // struct members cannot be initialized at the time of structure declaration
9
} s1;
10
11
void main()
12
{
13
}