From d3bba829acfb2eabce748220eff045ef0c6f7880 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 20 Oct 2018 14:16:56 -0700 Subject: Multiple improvements to shader resource binding in D3D11 and D3D12 --- 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 f3da3ca6..9f825c04 100644 --- a/Graphics/GLSLTools/include/SPIRVShaderResources.h +++ b/Graphics/GLSLTools/include/SPIRVShaderResources.h @@ -58,7 +58,7 @@ inline bool IsAllowedType(SHADER_VARIABLE_TYPE VarType, Uint32 AllowedTypeBits)n return ((1 << VarType) & AllowedTypeBits) != 0; } -inline Uint32 GetAllowedTypeBits(const SHADER_VARIABLE_TYPE *AllowedVarTypes, Uint32 NumAllowedTypes)noexcept +inline Uint32 GetAllowedTypeBits(const SHADER_VARIABLE_TYPE* AllowedVarTypes, Uint32 NumAllowedTypes)noexcept { if(AllowedVarTypes == nullptr) return 0xFFFFFFFF; -- cgit v1.2.3