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.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
}