Interface: remove NV_EXTENSIONS from the resources header.
authorJohn Kessenich <cepheus@frii.com>
Wed, 26 Sep 2018 09:00:37 +0000 (03:00 -0600)
committerJohn Kessenich <cepheus@frii.com>
Wed, 26 Sep 2018 09:02:13 +0000 (03:02 -0600)
This allows library consumers to work without have to set
NV_EXTENSIONS.

glslang/Include/ResourceLimits.h

index 89163ac..106b21d 100644 (file)
@@ -133,7 +133,6 @@ struct TBuiltInResource {
     int maxCullDistances;
     int maxCombinedClipAndCullDistances;
     int maxSamples;
-#ifdef NV_EXTENSIONS
     int maxMeshOutputVerticesNV;
     int maxMeshOutputPrimitivesNV;
     int maxMeshWorkGroupSizeX_NV;
@@ -143,7 +142,6 @@ struct TBuiltInResource {
     int maxTaskWorkGroupSizeY_NV;
     int maxTaskWorkGroupSizeZ_NV;
     int maxMeshViewCountNV;
-#endif
 
     TLimits limits;
 };