Merge branch 'master' into vulkan
This commit is contained in:
commit
1131dff705
|
@ -706,7 +706,7 @@ bool VulkanImmediateDrawer::EnsurePipelinesCreatedForCurrentRenderPass() {
|
|||
pipeline_create_info.renderPass = vulkan_ui_draw_context.render_pass();
|
||||
pipeline_create_info.subpass = 0;
|
||||
pipeline_create_info.basePipelineHandle = VK_NULL_HANDLE;
|
||||
pipeline_create_info.basePipelineIndex = UINT32_MAX;
|
||||
pipeline_create_info.basePipelineIndex = -1;
|
||||
if (dfn.vkCreateGraphicsPipelines(device, VK_NULL_HANDLE, 1,
|
||||
&pipeline_create_info, nullptr,
|
||||
&pipeline_triangle_) != VK_SUCCESS) {
|
||||
|
|
|
@ -2535,7 +2535,7 @@ VkPipeline VulkanPresenter::CreateGuestOutputPaintPipeline(
|
|||
pipeline_create_info.renderPass = render_pass;
|
||||
pipeline_create_info.subpass = 0;
|
||||
pipeline_create_info.basePipelineHandle = VK_NULL_HANDLE;
|
||||
pipeline_create_info.basePipelineIndex = UINT32_MAX;
|
||||
pipeline_create_info.basePipelineIndex = -1;
|
||||
|
||||
const VulkanProvider::DeviceFunctions& dfn = provider_.dfn();
|
||||
VkDevice device = provider_.device();
|
||||
|
|
Loading…
Reference in New Issue