Strip flags from UniformType before calling getUniformTypeName() (#2635)

This commit is contained in:
Christophe Dehais
2021-10-26 19:07:27 +02:00
committed by GitHub
parent aa7bee3e2b
commit 89c8e61abd
2 changed files with 2 additions and 2 deletions

View File

@@ -753,7 +753,7 @@ namespace bgfx { namespace hlsl
BX_TRACE("%s, %s, %d, %d, %d"
, un.name.c_str()
, getUniformTypeName(un.type)
, getUniformTypeName(UniformType::Enum(un.type & ~kUniformMask))
, un.num
, un.regIndex
, un.regCount

View File

@@ -355,7 +355,7 @@ namespace bgfx { namespace spirv
BX_TRACE("%s, %s, %d, %d, %d"
, un.name.c_str()
, getUniformTypeName(un.type)
, getUniformTypeName(UniformType::Enum(un.type & ~kUniformMask))
, un.num
, un.regIndex
, un.regCount