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
/
arb_shader_atomic_counters
/
compiler
/
declaration-const.frag
blob
782464e500b5a33d6dfc364479b440536e32fc5a
1
/* [config]
2
* expect_result: fail
3
* glsl_version: 1.40
4
* require_extensions: GL_ARB_shader_atomic_counters
5
* [end config]
6
*
7
* "[Atomic counters] can only be declared as function parameters or
8
* uniform-qualified global variables."
9
*/
10
#version 140
11
#extension GL_ARB_shader_atomic_counters: require
12
13
const atomic_uint x;
14
15
void main()
16
{
17
}