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_framebuffer_object: add missing MSAA alpha-to-coverage and alpha-to-one tests
[piglit.git]
/
tests
/
spec
/
mesa_shader_integer_functions
/
compiler
/
sample-qualifier
/
fs-sample-in-struct-disallowed.frag
blob
073a43f8d731248e2d669532d5547808814d6422
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
struct things {
11
/* not allowed in struct declarations */
12
sample vec4 x;
13
};
14
out vec4 out_color;
15
16
void main()
17
{
18
out_color = vec4(1);
19
}
20