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
/
buffer-memory-qualifiers.vert
blob
414ed965f9dacd970971d4b89f864be063a3e591
1
// [config]
2
// expect_result: pass
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
coherent restrict volatile buffer Buffer {
10
vec4 foo;
11
} buf;
12
vec4 foo(void) { return buf.foo; }