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-struct.shader_test
blob
81de52605e3d954efc22966e3adfbac7b77a79ee
1
# Tests linking of a fragment shader that copies a 'large' struct
2
# field 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
struct S {
18
mat4 m[SIZE];
19
};
20
21
buffer SSBO {
22
S src;
23
S dst;
24
};
25
26
void main() {
27
dst = src;
28
}
29
30
[test]
31
link success