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 #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
spv.specConstant.int16.comp
1
#version 450
2
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : require
3
4
layout(constant_id = 1) const int16_t sc0 = 20000s;
5
layout(constant_id = 2) const int16_t sc1 = -20000s;
6
7
layout (set = 0, binding = 0, std430) writeonly buffer Output {
8
int16_t r0;
9
int16_t r1;
10
} sb_out;
11
12
13
void main (void)
14
{
15
sb_out.r0 = sc0;
16
sb_out.r1 = sc1;
17
}
18