mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 16:49:59 +00:00
Merge pull request #3667 from ReinUsesLisp/viewport-trash
vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo
This commit is contained in:
commit
3a759d2352
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue