projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
spv.WorkgroupMemoryExplicitLayout.std140.comp
1
#version 430 core
2
3
#extension GL_EXT_shared_memory_block : enable
4
5
layout(local_size_x = 8) in;
6
7
struct T
8
{
9
float t[3];
10
};
11
12
struct S
13
{
14
float f;
15
vec2 v2;
16
vec3 v3;
17
vec4 v4;
18
T t;
19
20
float f_array[6];
21
vec2 v2_array[6];
22
vec3 v3_array[6];
23
vec4 v4_array[6];
24
T t_array[6];
25
};
26
27
layout(std140) shared Block
28
{
29
S s;
30
S s_array[6];
31
};
32
33
void main()
34
{
35
}