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
/
named-block-memory-qualifier-writeonly.vert
blob
d9ffc24e8384e9f92c57632ee1c3e0c824e8314c
1
// [config]
2
// expect_result: fail
3
// glsl_version: 3.30
4
// require_extensions: GL_ARB_shader_storage_buffer_object
5
// [end config]
6
7
#version 330
8
#extension GL_ARB_shader_storage_buffer_object: require
9
writeonly buffer Buffer {
10
float foo;
11
} buf;
12
13
void main(void) {
14
float result = buf.foo;
15
}