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-readonly-member.vert
blob
c5af6c160eb18f774341f09a9f2ac68653180011
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
buffer Buffer {
10
readonly float foo;
11
} buf;
12
13
void main() {
14
buf.foo = 1.0;
15
}