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
fix the spelling in whole piglit
[piglit.git]
/
tests
/
spec
/
arb_explicit_attrib_location
/
1.10
/
compiler
/
layout-04.frag
blob
d515b87cf59b5ebeb729a0bb1877cae787396d08
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// require_extensions: GL_ARB_explicit_attrib_location
5
// [end config]
6
//
7
// 'location' must be an integer constant
8
9
#version 110
10
#extension GL_ARB_explicit_attrib_location: require
11
layout(location = 1 - 1) out vec4 color;
12
13
void main()
14
{
15
color = vec4(1.0);
16
}