|
@@ -847,18 +847,20 @@ namespace bgfx
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
BX_TRACE("Supported texture formats:");
|
|
BX_TRACE("Supported texture formats:");
|
|
|
- BX_TRACE("\t +------ x = supported / * = emulated");
|
|
|
|
|
- BX_TRACE("\t |+----- vertex format");
|
|
|
|
|
- BX_TRACE("\t || +-- name");
|
|
|
|
|
|
|
+ BX_TRACE("\t +------- x = supported / * = emulated");
|
|
|
|
|
+ BX_TRACE("\t |+------ vertex format");
|
|
|
|
|
+ BX_TRACE("\t ||+----- image");
|
|
|
|
|
+ BX_TRACE("\t ||| +-- name");
|
|
|
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
|
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
|
|
{
|
|
{
|
|
|
if (TextureFormat::Unknown != ii
|
|
if (TextureFormat::Unknown != ii
|
|
|
&& TextureFormat::UnknownDepth != ii)
|
|
&& TextureFormat::UnknownDepth != ii)
|
|
|
{
|
|
{
|
|
|
uint8_t flags = g_caps.formats[ii];
|
|
uint8_t flags = g_caps.formats[ii];
|
|
|
- BX_TRACE("\t[%c%c] %s"
|
|
|
|
|
|
|
+ BX_TRACE("\t[%c%c%c] %s"
|
|
|
, flags&BGFX_CAPS_FORMAT_TEXTURE_COLOR ? 'x' : flags&BGFX_CAPS_FORMAT_TEXTURE_EMULATED ? '*' : ' '
|
|
, flags&BGFX_CAPS_FORMAT_TEXTURE_COLOR ? 'x' : flags&BGFX_CAPS_FORMAT_TEXTURE_EMULATED ? '*' : ' '
|
|
|
, flags&BGFX_CAPS_FORMAT_TEXTURE_VERTEX ? 'v' : ' '
|
|
, flags&BGFX_CAPS_FORMAT_TEXTURE_VERTEX ? 'v' : ' '
|
|
|
|
|
+ , flags&BGFX_CAPS_FORMAT_TEXTURE_IMAGE ? 'i' : ' '
|
|
|
, getName(TextureFormat::Enum(ii) )
|
|
, getName(TextureFormat::Enum(ii) )
|
|
|
);
|
|
);
|
|
|
BX_UNUSED(flags);
|
|
BX_UNUSED(flags);
|