|
@@ -4146,7 +4146,9 @@ VK_IMPORT_DEVICE
|
|
|
// bgfx does not seem to forbid setting a texture to a stage that a program does not use
|
|
// bgfx does not seem to forbid setting a texture to a stage that a program does not use
|
|
|
if (bind.m_type == Binding::Texture
|
|
if (bind.m_type == Binding::Texture
|
|
|
&& !isValid(program.m_bindInfo[stage].uniformHandle) )
|
|
&& !isValid(program.m_bindInfo[stage].uniformHandle) )
|
|
|
|
|
+ {
|
|
|
continue;
|
|
continue;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (kInvalidHandle != bind.m_idx)
|
|
if (kInvalidHandle != bind.m_idx)
|
|
|
{
|
|
{
|