summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-30 03:05:57 +0100
committerLiam <byteslice@airmail.cc>2023-11-30 03:06:06 +0100
commit8f62e8e63f58f13ace7c8940da50c1e6ea82258f (patch)
tree5524b0bd7d54ed3022674ef01af02e5794fb3381 /src/video_core/renderer_vulkan
parentMerge pull request #12223 from liamwhite/fruit-company (diff)
downloadyuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar.gz
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar.bz2
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar.lz
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar.xz
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.tar.zst
yuzu-8f62e8e63f58f13ace7c8940da50c1e6ea82258f.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index e0ab1eaac..07222e603 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -892,10 +892,6 @@ void RasterizerVulkan::UpdateDynamicStates() {
UpdateFrontFace(regs);
UpdateStencilOp(regs);
- if (device.IsExtVertexInputDynamicStateSupported()) {
- UpdateVertexInput(regs);
- }
-
if (state_tracker.TouchStateEnable()) {
UpdateDepthBoundsTestEnable(regs);
UpdateDepthTestEnable(regs);
@@ -918,6 +914,9 @@ void RasterizerVulkan::UpdateDynamicStates() {
UpdateBlending(regs);
}
}
+ if (device.IsExtVertexInputDynamicStateSupported()) {
+ UpdateVertexInput(regs);
+ }
}
void RasterizerVulkan::HandleTransformFeedback() {