Fixed warnings.
This commit is contained in:
parent
694627885a
commit
35abd01cfb
@ -729,8 +729,8 @@ namespace bgfx { namespace metal
|
||||
if (index != std::string::npos)
|
||||
{
|
||||
bool found = false;
|
||||
|
||||
for (int32_t ii = 0; ii < BX_COUNTOF(s_samplerTypes); ++ii)
|
||||
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(s_samplerTypes); ++ii)
|
||||
{
|
||||
if (!bx::findIdentifierMatch(strLine.c_str(), s_samplerTypes[ii]).isEmpty())
|
||||
{
|
||||
@ -738,7 +738,7 @@ namespace bgfx { namespace metal
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!found)
|
||||
{
|
||||
for (int32_t ii = 0, num = program->getNumLiveUniformVariables(); ii < num; ++ii)
|
||||
|
@ -783,7 +783,7 @@ namespace bgfx { namespace spirv
|
||||
{
|
||||
bool found = false;
|
||||
|
||||
for (int32_t ii = 0; ii < BX_COUNTOF(s_samplerTypes); ++ii)
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(s_samplerTypes); ++ii)
|
||||
{
|
||||
if (!bx::findIdentifierMatch(strLine.c_str(), s_samplerTypes[ii]).isEmpty())
|
||||
{
|
||||
@ -791,7 +791,7 @@ namespace bgfx { namespace spirv
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!found)
|
||||
{
|
||||
for (int32_t ii = 0, num = program->getNumLiveUniformVariables(); ii < num; ++ii)
|
||||
|
Loading…
x
Reference in New Issue
Block a user