Browse Source
Merge pull request #3667 from ReinUsesLisp/viewport-trash
vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo
pull/15/merge
Mat M
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/video_core/renderer_vulkan/vk_blit_screen.cpp
|
|
@ -535,7 +535,9 @@ void VKBlitScreen::CreateGraphicsPipeline() { |
|
|
viewport_state_ci.pNext = nullptr; |
|
|
viewport_state_ci.pNext = nullptr; |
|
|
viewport_state_ci.flags = 0; |
|
|
viewport_state_ci.flags = 0; |
|
|
viewport_state_ci.viewportCount = 1; |
|
|
viewport_state_ci.viewportCount = 1; |
|
|
|
|
|
viewport_state_ci.pViewports = nullptr; |
|
|
viewport_state_ci.scissorCount = 1; |
|
|
viewport_state_ci.scissorCount = 1; |
|
|
|
|
|
viewport_state_ci.pScissors = nullptr; |
|
|
|
|
|
|
|
|
VkPipelineRasterizationStateCreateInfo rasterization_ci; |
|
|
VkPipelineRasterizationStateCreateInfo rasterization_ci; |
|
|
rasterization_ci.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; |
|
|
rasterization_ci.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; |
|
|
|