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
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.50
/
compiler
/
interface-blocks-containing-unsized-arrays.frag
blob
2c31c0c3b0d5e98eb082ae4346699b486c3ec1c2
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
//
7
// Test that an interface block may contain members which are unsized
8
// arrays. Both GLSL 1.10 and GLSL 1.20 style array declarations are
9
// tested.
10
11
#version 150
12
13
in block {
14
float foo[];
15
float[] bar;
16
} inst;
17
18
void main()
19
{
20
}