From 35300bf08b5dd8ba47e8a54d6867b4214028320c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 7 Feb 2018 01:10:14 +0100 Subject: [PATCH] UINT32_MAX not defined on random platforms even though we are including stdint - just resort to dropping in real value instead --- deps/SPIRV-Cross/spirv_msl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/SPIRV-Cross/spirv_msl.hpp b/deps/SPIRV-Cross/spirv_msl.hpp index c9a1820485..6187585577 100644 --- a/deps/SPIRV-Cross/spirv_msl.hpp +++ b/deps/SPIRV-Cross/spirv_msl.hpp @@ -65,7 +65,7 @@ using MSLStructMemberKey = uint64_t; // Special constant used in a MSLResourceBinding desc_set // element to indicate the bindings for the push constants. -static const uint32_t kPushConstDescSet = UINT32_MAX; +static const uint32_t kPushConstDescSet = ((uint32_t)-1); // Special constant used in a MSLResourceBinding binding // element to indicate the bindings for the push constants.