Merge pull request #2865 from alan-baker/update-license
[platform/upstream/glslang.git] / Test / spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp
1 #version 430 core
2
3 #extension GL_EXT_shared_memory_block : enable
4 #extension GL_EXT_shader_explicit_arithmetic_types: enable
5
6 layout(local_size_x = 2) in;
7
8 shared first
9 {
10     int16_t a;
11     float16_t f;
12 };
13
14 void main()
15 {
16     a = int16_t(3);
17     f = float16_t(12.3);
18 }