summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/StateTracker.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2025-08-16 15:07:24 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2025-08-17 18:55:40 -0500
commit0e73a012796cf87fb1ea86488c630e57d53d273d (patch)
tree3b36fdfe311e768da1b992be1360707d0a32a67e /Source/Core/VideoBackends/Vulkan/StateTracker.cpp
parent52806b3dc82954bf222166d5870e0d8825c977d9 (diff)
VideoBackends: allow custom pixel uniforms to be passed to the vertex shader as well
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/StateTracker.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/StateTracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/StateTracker.cpp b/Source/Core/VideoBackends/Vulkan/StateTracker.cpp
index e55071533a..575ba9a352 100644
--- a/Source/Core/VideoBackends/Vulkan/StateTracker.cpp
+++ b/Source/Core/VideoBackends/Vulkan/StateTracker.cpp
@@ -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;
}