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
/
layout-vs-no-output.vert
blob
72235d67e15b41e0c61280c531c6ebb75b4256ce
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
//
7
// Section 4.3.8.2(Output Layout Qualifiers) of the GLSL 1.50 spec says:
8
// "Vertex and fragment shaders cannot have output layout qualifiers."
9
10
#version 150
11
12
layout(points) out vec4 b;
13
14
void main()
15
{
16
b = vec4(2.);
17
}