summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-15 09:10:34 +0200
committerGitHub <noreply@github.com>2020-04-15 09:10:34 +0200
commit3a759d2352bd787f525c5b35b4381dfe509561f8 (patch)
tree4f144edde6fa0d6961d60f35ba901689f04b1a4c
parentMerge pull request #3657 from ReinUsesLisp/viewport-zero (diff)
parentvk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo (diff)
downloadyuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.gz
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.bz2
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.lz
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.xz
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.tar.zst
yuzu-3a759d2352bd787f525c5b35b4381dfe509561f8.zip
-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;