aboutsummaryrefslogtreecommitdiff
path: root/Test/spv.WorkgroupMemoryExplicitLayout.MultiBlock.comp
blob: 675a4433dd80526fbaa1a225772fcb9d4f6aa91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#version 430 core

#extension GL_EXT_shared_memory_block : enable

layout(local_size_x = 8) in;

shared first
{
    int a;
};

shared second
{
    int b;
};

void main()
{
    a = 2;
    b = 3;
}