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
/
linker
/
copy-large-array.shader_test
blob
e0b04e5c34b36db488880ba4429284befe1c1b5a
1
# Tests linking of a fragment shader that copies a 'large' array field
2
# within an SSBO.
3
4
[require]
5
GL >= 3.3
6
GLSL >= 3.30
7
GL_ARB_shader_storage_buffer_object
8
9
[vertex shader passthrough]
10
11
[fragment shader]
12
#version 330
13
#extension GL_ARB_shader_storage_buffer_object: require
14
15
#define SIZE 16
16
17
buffer SSBO {
18
mat4 src[SIZE];
19
mat4 dst[SIZE];
20
};
21
22
void main() {
23
dst = src;
24
}
25
26
[test]
27
link success