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-global-only.vert
blob
3e65481338401600d8b32af880a4671409db496f
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
//
7
// Section 4.3.8(Layout Qualifiers) of the GLSL 1.50 spec says:
8
// "Declarations of layouts can only be made at global scope"
9
10
#version 150
11
12
void main()
13
{
14
layout(pixel_center_integer) vec4 b;
15
gl_Position = b;
16
}