mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 13:51:04 +00:00
faac86e5d6
When visiting instructions, check that there are no 16-bit storage capabilities and add the Float16 capability. Same for int8/int16.
11 lines
208 B
Plaintext
11 lines
208 B
Plaintext
#version 450 core
|
|
|
|
#extension GL_EXT_shader_16bit_storage : require
|
|
|
|
layout(local_size_x = 16, local_size_y = 16, local_size_z = 1) in;
|
|
|
|
void main()
|
|
{
|
|
vec4 v = vec4(0.0);
|
|
vec4(f16vec4(v));
|
|
} |