VideoBackends: allow custom pixel uniforms to be passed to the vertex shader as well

This commit is contained in:
iwubcode
2025-08-17 18:55:40 -05:00
parent 52806b3dc8
commit 0e73a01279
14 changed files with 62 additions and 38 deletions
@@ -496,8 +496,8 @@ void StateTracker::UpdateGXDescriptorSet()
continue;
}
// If custom pixel shaders haven't been used, their buffer range is 0
if (i == UBO_DESCRIPTOR_SET_BINDING_PS_CUST && m_bindings.gx_ubo_bindings[i].range == 0)
// If custom shaders haven't been used, their buffer range is 0
if (i == UBO_DESCRIPTOR_SET_BINDING_CUST && m_bindings.gx_ubo_bindings[i].range == 0)
{
continue;
}