mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 01:54:31 +00:00
vulkan: Skip draw when primitive type is None. (#867)
This commit is contained in:
parent
d66d129357
commit
c27d79c2e7
@ -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