vcpkg/ports/shaderc/fix-tbuiltinresource-for-glslang-11-12.patch
Gabe Rundlett e46521db00
[glslang] Bump to latest version again (#28029)
* Update GLSLANG to 11.12.0

* [glslang] Update baseline and version file

* update port version

* Fix shaderc

* Update version database

* Update ports/glslang/vcpkg.json

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>

* [glslang] update version

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
2022-12-01 13:52:06 -08:00

21 lines
961 B
Diff

diff --git a/libshaderc_util/src/resources.cc b/libshaderc_util/src/resources.cc
index d64e47f..6c662d3 100644
--- a/libshaderc_util/src/resources.cc
+++ b/libshaderc_util/src/resources.cc
@@ -125,6 +125,15 @@ const TBuiltInResource kDefaultTBuiltInResource = {
/* .maxTaskWorkGroupSizeY_NV = */ 1,
/* .maxTaskWorkGroupSizeZ_NV = */ 1,
/* .maxMeshViewCountNV = */ 4,
+ /* .maxMeshOutputVerticesEXT = */ 256,
+ /* .maxMeshOutputPrimitivesEXT = */ 256,
+ /* .maxMeshWorkGroupSizeX_EXT = */ 128,
+ /* .maxMeshWorkGroupSizeY_EXT = */ 128,
+ /* .maxMeshWorkGroupSizeZ_EXT = */ 128,
+ /* .maxTaskWorkGroupSizeX_EXT = */ 128,
+ /* .maxTaskWorkGroupSizeY_EXT = */ 128,
+ /* .maxTaskWorkGroupSizeZ_EXT = */ 128,
+ /* .maxMeshViewCountEXT = */ 4,
/* .maxDualSourceDrawBuffersEXT = */ 1,
// This is the glslang TLimits structure.
// It defines whether or not the following features are enabled.