summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-08-30 16:36:30 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-08-30 16:36:30 +0000
commit4759c75582d486637a4cd0ae9554c0c66087f6ce (patch)
treec14ea9b866ab44ff2367aa8ee9273fc50a64bc4d /Graphics/GLSLTools
parentFixed shader parsing errors caused by incorrect representation of signed enum... (diff)
downloadDiligentCore-4759c75582d486637a4cd0ae9554c0c66087f6ce.tar.gz
DiligentCore-4759c75582d486637a4cd0ae9554c0c66087f6ce.zip
Minor correction
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/include/SPIRVShaderResources.h2
1 files changed, 1 insertions, 1 deletions
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;