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-out-block-no-instance.frag
blob
7a2a8820558c8ea230b1d629c0c41c8127b9a760
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
//
7
// Tests that out interface blocks are rejected for the fragment shader.
8
//
9
// GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
10
// "It is illegal to have an input block in a vertex shader or an
11
// output block in a fragment shader"
12
13
#version 150
14
15
out block {
16
vec4 iface_var;
17
};
18
19
void main()
20
{
21
}
22