From 4759c75582d486637a4cd0ae9554c0c66087f6ce Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 30 Aug 2018 09:36:30 -0700 Subject: Minor correction --- Graphics/GLSLTools/include/SPIRVShaderResources.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GLSLTools') diff --git a/Graphics/GLSLTools/include/SPIRVShaderResources.h b/Graphics/GLSLTools/include/SPIRVShaderResources.h index d87f1f39..f3da3ca6 100644 --- a/Graphics/GLSLTools/include/SPIRVShaderResources.h +++ b/Graphics/GLSLTools/include/SPIRVShaderResources.h @@ -89,7 +89,7 @@ struct SPIRVShaderResourceAttribs static constexpr const Uint32 ResourceTypeBits = 4; static constexpr const Uint32 VarTypeBits = 4; static_assert(SHADER_VARIABLE_TYPE_NUM_TYPES < (1 << VarTypeBits), "Not enough bits to represent SHADER_VARIABLE_TYPE"); - static_assert(NumResourceTypes < (1 << ResourceTypeBits), "Not enough bits to represent ResourceType"); + static_assert(ResourceType::NumResourceTypes < (1 << ResourceTypeBits), "Not enough bits to represent ResourceType"); const char *Name; const Uint16 ArraySize; -- cgit v1.2.3