vulkan: Skip draw when primitive type is None.

This commit is contained in:
squidbus 2024-09-10 21:41:13 -07:00
parent 74c2888aaa
commit 1a81e99b05

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;
}