Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shaders-no-opt/vulkan/frag/volatile-helper-invocation.vk.nocompat.spv16.frag')
-rw-r--r--shaders-no-opt/vulkan/frag/volatile-helper-invocation.vk.nocompat.spv16.frag11
1 files changed, 11 insertions, 0 deletions
diff --git a/shaders-no-opt/vulkan/frag/volatile-helper-invocation.vk.nocompat.spv16.frag b/shaders-no-opt/vulkan/frag/volatile-helper-invocation.vk.nocompat.spv16.frag
new file mode 100644
index 00000000..9a8d9d20
--- /dev/null
+++ b/shaders-no-opt/vulkan/frag/volatile-helper-invocation.vk.nocompat.spv16.frag
@@ -0,0 +1,11 @@
+#version 450
+#extension GL_EXT_demote_to_helper_invocation : require
+
+layout(location = 0) out float FragColor;
+
+void main()
+{
+ FragColor = float(gl_HelperInvocation);
+ demote;
+ FragColor = float(gl_HelperInvocation);
+}