diff --git a/src/xenia/gpu/vulkan/vulkan_command_processor.cc b/src/xenia/gpu/vulkan/vulkan_command_processor.cc index 2ddfb57d3..684abaf56 100644 --- a/src/xenia/gpu/vulkan/vulkan_command_processor.cc +++ b/src/xenia/gpu/vulkan/vulkan_command_processor.cc @@ -2392,6 +2392,13 @@ bool VulkanCommandProcessor::IssueDraw(xenos::PrimitiveType prim_type, return IssueCopy(); } + if (regs.Get().surface_pitch == 0) { + // Doesn't actually draw. Matches the Direct3D 12 backend. + // TODO(Triang3l): Do something so memexport still works in this case maybe? + // Unlikely that zero would even really be legal though. + return true; + } + const ui::vulkan::VulkanDevice::Properties& device_properties = GetVulkanDevice()->properties();