From 443f4644ae1d2003cfe2b03f4eb4a2bc9514449f Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 27 Feb 2020 10:22:03 -0300 Subject: community/shaderc: upgrade to 2019.1 --- community/shaderc/enum.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 community/shaderc/enum.patch (limited to 'community/shaderc/enum.patch') 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 +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; + } + + -- cgit v1.2.3