mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #3667 from ReinUsesLisp/viewport-trash
vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo
This commit is contained in:
commit
3a759d2352
@ -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 New Issue
Block a user