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-block-input-read-only.frag
blob
304aacfe0c61e8eeb378feac37a981e8de55ba0e
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.50
4
// check_link: false
5
// [end config]
6
//
7
// Check that an error is generated when trying
8
// to change the value of a shader input.
9
10
#version 150
11
12
in Block {
13
vec4 invar;
14
};
15
16
void main()
17
{
18
invar = vec4(1.0);
19
gl_FragColor = invar;
20
}