mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 17:29:06 +02:00
Don't refer directly to g_Config.iMultiSampleLevel, it can contain unsupported modes.
This commit is contained in:
1 parent
41e5b1e95a
commit
11366a2ded
11 files changed
+55
-23
No files matched your search
@@ -48,6 +48,12 @@ bool VKRGraphicsPipeline::Create(VulkanContext *vulkan, VkRenderPass compatibleR
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!compatibleRenderPass) {
|
||||
ERROR_LOG(G3D, "Failed creating graphics pipeline - compatible render pass was null");
|
||||
// We're kinda screwed here?
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t stageCount = 2;
|
||||
VkPipelineShaderStageCreateInfo ss[3]{};
|
||||
ss[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||
|
||||
Reference in new issue
Block a user