summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-06-15 13:31:39 -0700
committerMatt Turner <mattst88@gentoo.org>2020-06-15 14:04:50 -0700
commitd5dea1dc4455fb41579ddd071f02b1a1a553b853 (patch)
tree1aa0c87aa41a849af28aa2393e1cff8e990f85e1 /media-libs/shaderc/files
parentdev-util/glslang: Drop x11@ as a maintainer (diff)
downloadgentoo-d5dea1dc4455fb41579ddd071f02b1a1a553b853.tar.gz
gentoo-d5dea1dc4455fb41579ddd071f02b1a1a553b853.tar.bz2
gentoo-d5dea1dc4455fb41579ddd071f02b1a1a553b853.zip
media-libs/shaderc: Version bump to 2020.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/shaderc/files')
-rw-r--r--media-libs/shaderc/files/shaderc-2020.1-fix-build.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/shaderc/files/shaderc-2020.1-fix-build.patch b/media-libs/shaderc/files/shaderc-2020.1-fix-build.patch
new file mode 100644
index 000000000000..f46aa5ddb668
--- /dev/null
+++ b/media-libs/shaderc/files/shaderc-2020.1-fix-build.patch
@@ -0,0 +1,17 @@
+This patch is a revert of commit 15a66d72f33a099ec65e0fd37cf14548ed1d2bdb (Rolling 5 dependencies and fixing build (#1057)) because it adds usage of the .maxDualSourceDrawBuffersEXT field which is not available in any tagged release of glslang. The field is added in glslang in https://github.com/KhronosGroup/glslang/commit/e05cc20ec20a154d94256c744a3837c23719c0f9
+
+---
+diff --git b/libshaderc_util/src/resources.cc a/libshaderc_util/src/resources.cc
+index d64e47f..458a63f 100644
+--- b/libshaderc_util/src/resources.cc
++++ a/libshaderc_util/src/resources.cc
+@@ -125,7 +125,7 @@ const TBuiltInResource kDefaultTBuiltInResource = {
+ /* .maxTaskWorkGroupSizeY_NV = */ 1,
+ /* .maxTaskWorkGroupSizeZ_NV = */ 1,
+ /* .maxMeshViewCountNV = */ 4,
+- /* .maxDualSourceDrawBuffersEXT = */ 1,
++
+ // This is the glslang TLimits structure.
+ // It defines whether or not the following features are enabled.
+ // We want them to all be enabled.
+--