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
/
arb_shader_atomic_counters
/
compiler
/
lvalue-3.frag
blob
eab47b51326d8173180e7151d065642172be1157
1
/* [config]
2
* expect_result: fail
3
* glsl_version: 1.40
4
* require_extensions: GL_ARB_shader_atomic_counters
5
* [end config]
6
*
7
* "Counters cannot be treated as l-values."
8
*/
9
#version 140
10
#extension GL_ARB_shader_atomic_counters: require
11
12
layout(binding=0) uniform atomic_uint x;
13
layout(binding=0) uniform atomic_uint y;
14
15
void main()
16
{
17
x = y;
18
}