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
fbo-mrt-alphatest: Actually require MRTs to be available.
[piglit.git]
/
tests
/
spec
/
arb_shader_storage_buffer_object
/
compiler
/
named-block-memory-qualifier-readonly.vert
blob
61453503eaac5009400b215831554d3ed7015147
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
readonly buffer Buffer {
10
float foo;
11
} buf;
12
13
void main() {
14
buf.foo = 1.0;
15
}