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-initializer.frag
blob
f4628a9d528f2e073211ef61d04a71722e25f8fb
1
/* [config]
2
* expect_result: fail
3
* glsl_version: 1.40
4
* require_extensions: GL_ARB_shader_atomic_counters
5
* [end config]
6
*
7
* Counter declarations cannot have initializer.
8
*/
9
#version 140
10
#extension GL_ARB_shader_atomic_counters: require
11
12
layout(binding=0) uniform atomic_uint x = 0;
13
14
void main()
15
{
16
}