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_storage_buffer_object
/
compiler
/
member-memory-qualifier-writeonly.frag
blob
7ee7d816bb617007f7274f784a597c966f2c921b
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.20
4
// require_extensions: GL_ARB_shader_storage_buffer_object
5
// [end config]
6
7
#version 120
8
#extension GL_ARB_shader_storage_buffer_object: require
9
10
buffer ssbo {
11
writeonly float a;
12
};
13
14
float foo(void) {
15
return a;
16
}