mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Set basePipelineIndex to -1 instead of 0 to indicate invalid.
This commit is contained in:
parent
6f5f3534c4
commit
b01903ccc7
|
|
@ -259,7 +259,7 @@ VkPipeline PipelineCache::GetPipeline(const RenderState* render_state,
|
|||
pipeline_info.renderPass = render_state->render_pass_handle;
|
||||
pipeline_info.subpass = 0;
|
||||
pipeline_info.basePipelineHandle = nullptr;
|
||||
pipeline_info.basePipelineIndex = 0;
|
||||
pipeline_info.basePipelineIndex = -1;
|
||||
VkPipeline pipeline = nullptr;
|
||||
auto err = vkCreateGraphicsPipelines(device_, pipeline_cache_, 1,
|
||||
&pipeline_info, nullptr, &pipeline);
|
||||
|
|
|
|||
Loading…
Reference in a new issue