vulkan: Skip draw when primitive type is None. (#867)

This commit is contained in:
squidbus
2024-09-10 22:58:20 -07:00
committed by GitHub
parent d66d129357
commit c27d79c2e7

View File

@@ -158,6 +158,10 @@ const GraphicsPipeline* PipelineCache::GetGraphicsPipeline() {
LOG_TRACE(Render_Vulkan, "FMask decompression pass skipped");
return nullptr;
}
if (regs.primitive_type == Liverpool::PrimitiveType::None) {
LOG_TRACE(Render_Vulkan, "Primitive type 'None' skipped");
return nullptr;
}
if (!RefreshGraphicsKey()) {
return nullptr;
}