mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 13:10:37 +00:00
232ba0d848
Fixes #2198.
19 lines
359 B
Plaintext
19 lines
359 B
Plaintext
#version 450
|
|
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : require
|
|
|
|
layout(constant_id = 1) const int16_t sc0 = 20000s;
|
|
layout(constant_id = 2) const int16_t sc1 = -20000s;
|
|
|
|
layout (set = 0, binding = 0, std430) writeonly buffer Output {
|
|
int16_t r0;
|
|
int16_t r1;
|
|
} sb_out;
|
|
|
|
|
|
void main (void)
|
|
{
|
|
sb_out.r0 = sc0;
|
|
sb_out.r1 = sc1;
|
|
}
|
|
|