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
/
mesa_shader_integer_functions
/
compiler
/
sample-qualifier
/
fs-sample-temp-disallowed.frag
blob
7ce2b674e98a40408576f6a0249831e8ec4b79d7
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.30
4
// require_extensions: GL_MESA_shader_integer_functions
5
// [end config]
6
7
#version 130
8
#extension GL_MESA_shader_integer_functions: require
9
10
out vec4 out_color;
11
12
void main()
13
{
14
/* x is neither an input nor output, so 'sample' is not
15
* legal here.
16
*/
17
sample vec4 x = vec4(1);
18
out_color = x;
19
}
20