Debian Codegraph @

third_party/spirv-cross/shaders-no-opt/frag/16bit-constants.invalid.frag

raw
1 #version 450 core
2
3 #extension GL_AMD_gpu_shader_int16 : require
4 #extension GL_AMD_gpu_shader_half_float : require
5
6 layout(location = 0) out float16_t foo;
7 layout(location = 1) out int16_t bar;
8 layout(location = 2) out uint16_t baz;
9
10 void main() {
11 foo = 1.0hf;
12 bar = 2s;
13 baz = 3us;
14 }