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
ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git]
/
tests
/
spec
/
mesa_shader_integer_functions
/
compiler
/
precise-qualifier
/
precise-11.vert
blob
11393465f782d2d4effdaecb686ac7ab4daa82a0
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.30
4
// require_extensions: GL_MESA_shader_integer_functions
5
// [end config]
6
7
// test that a precise redeclaration of a parameter after use is not allowed.
8
9
#version 130
10
#extension GL_MESA_shader_integer_functions: require
11
12
void foo(out x) {
13
x = 1;
14
precise x; /* redeclaration after use */
15
}