mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Removed use of debugPrintf.
This commit is contained in:
@@ -153,40 +153,6 @@ namespace bgfx
|
||||
return s_attrName[_attr*2+1];
|
||||
}
|
||||
|
||||
void dump(const VertexDecl& _decl)
|
||||
{
|
||||
if (BX_ENABLED(BGFX_CONFIG_DEBUG) )
|
||||
{
|
||||
bx::debugPrintf("vertexdecl %08x (%08x), stride %d\n"
|
||||
, _decl.m_hash
|
||||
, bx::hash<bx::HashMurmur2A>(_decl.m_attributes)
|
||||
, _decl.m_stride
|
||||
);
|
||||
|
||||
for (uint32_t attr = 0; attr < Attrib::Count; ++attr)
|
||||
{
|
||||
if (UINT16_MAX != _decl.m_attributes[attr])
|
||||
{
|
||||
uint8_t num;
|
||||
AttribType::Enum type;
|
||||
bool normalized;
|
||||
bool asInt;
|
||||
_decl.decode(Attrib::Enum(attr), num, type, normalized, asInt);
|
||||
|
||||
bx::debugPrintf("\tattr %d - %s, num %d, type %d, norm %d, asint %d, offset %d\n"
|
||||
, attr
|
||||
, getAttribName(Attrib::Enum(attr) )
|
||||
, num
|
||||
, type
|
||||
, normalized
|
||||
, asInt
|
||||
, _decl.m_offset[attr]
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct AttribToId
|
||||
{
|
||||
Attrib::Enum attr;
|
||||
|
||||
Reference in New Issue
Block a user