summaryrefslogtreecommitdiff
path: root/media-libs/shaderc/files/shaderc-2020.1-fix-build.patch
blob: f46aa5ddb66886732e08ecc6f8556fa31d80e4d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.
--