mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 11:23:52 +00:00
Strip flags from UniformType before calling getUniformTypeName() (#2635)
This commit is contained in:
committed by
GitHub
parent
aa7bee3e2b
commit
89c8e61abd
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user