Force depth writes when fetching shader output in pixel history

* If depth is disabled this will do nothing, but if depth is enabled this
  ensures we actually get the depth value from the fragment.
This commit is contained in:
baldurk
2020-10-06 18:59:25 +01:00
parent 45f3f5ef76
commit 89af50a76c
@@ -2567,6 +2567,7 @@ struct VulkanPixelHistoryPerFragmentCallback : VulkanPixelHistoryCallback
{
ds->depthBoundsTestEnable = VK_FALSE;
ds->depthWriteEnable = VK_TRUE;
ds->depthCompareOp = VK_COMPARE_OP_ALWAYS;
}