aboutsummaryrefslogtreecommitdiffstats
path: root/community/shaderc/enum.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/shaderc/enum.patch')
-rw-r--r--community/shaderc/enum.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/shaderc/enum.patch b/community/shaderc/enum.patch
new file mode 100644
index 0000000000..c4fe9629b5
--- /dev/null
+++ b/community/shaderc/enum.patch
@@ -0,0 +1,23 @@
+From 3d99fad173cc0c00d370eeb6663784fc67efd480 Mon Sep 17 00:00:00 2001
+From: David Neto <dneto@google.com>
+Date: Fri, 24 Jan 2020 15:41:21 -0500
+Subject: [PATCH] Handle new Glslang profile enum in switch (#973)
+
+* Handle new Glslang profile enum in switch
+---
+ libshaderc/src/shaderc.cc | 1 +
+ 1 files changed, 1 insertions(+), 0 deletion(-)
+
+diff --git a/libshaderc/src/shaderc.cc b/libshaderc/src/shaderc.cc
+index abbab548..fe57c76b 100644
+--- a/libshaderc/src/shaderc.cc
++++ b/libshaderc/src/shaderc.cc
+@@ -779,6 +779,7 @@ bool shaderc_parse_version_profile(const char* str, int* version,
+ *profile = shaderc_profile_none;
+ return true;
+ case EBadProfile:
++ case EProfileCount:
+ return false;
+ }
+
+