summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp11
1 files changed, 11 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp b/3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp
new file mode 100644
index 00000000000..2eb093572f5
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.float16convertonlyarith.comp
@@ -0,0 +1,11 @@
+#version 450 core
+
+#extension GL_EXT_shader_explicit_arithmetic_types_float16 : 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));
+} \ No newline at end of file