mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
vulkan: Skip draw when primitive type is None.
This commit is contained in:
parent
74c2888aaa
commit
1a81e99b05
@ -158,6 +158,10 @@ const GraphicsPipeline* PipelineCache::GetGraphicsPipeline() {
|
|||||||
LOG_TRACE(Render_Vulkan, "FMask decompression pass skipped");
|
LOG_TRACE(Render_Vulkan, "FMask decompression pass skipped");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
if (regs.primitive_type == Liverpool::PrimitiveType::None) {
|
||||||
|
LOG_TRACE(Render_Vulkan, "Primitive type 'None' skipped");
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
if (!RefreshGraphicsKey()) {
|
if (!RefreshGraphicsKey()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user