summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 08:30:08 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 08:30:08 +0200
commit0ca456830f1149e315f57dd43f32cbcba97e310c (patch)
tree4f144edde6fa0d6961d60f35ba901689f04b1a4c /src/video_core/renderer_vulkan
parentMerge pull request #3657 from ReinUsesLisp/viewport-zero (diff)
downloadyuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.gz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.bz2
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.lz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.xz
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.tar.zst
yuzu-0ca456830f1149e315f57dd43f32cbcba97e310c.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_blit_screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
index 21644a7e7..fbd406f2b 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
@@ -535,7 +535,9 @@ void VKBlitScreen::CreateGraphicsPipeline() {
viewport_state_ci.pNext = nullptr;
viewport_state_ci.flags = 0;
viewport_state_ci.viewportCount = 1;
+ viewport_state_ci.pViewports = nullptr;
viewport_state_ci.scissorCount = 1;
+ viewport_state_ci.pScissors = nullptr;
VkPipelineRasterizationStateCreateInfo rasterization_ci;
rasterization_ci.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;