Permalink
Browse files

Vulkan: Remove misguided assert about backbuffer clearing mode.

  • Loading branch information...
hrydgard committed Dec 2, 2017
1 parent 0389647 commit b84c15c663088b05be8978393587a42448770b04
Showing with 0 additions and 2 deletions.
  1. +0 −2 ext/native/thin3d/VulkanQueueRunner.cpp
@@ -594,8 +594,6 @@ void VulkanQueueRunner::PerformBindFramebufferAsRenderTarget(const VKRStep &step
w = vulkan_->GetBackbufferWidth();
h = vulkan_->GetBackbufferHeight();
renderPass = GetBackbufferRenderPass();
_dbg_assert_msg_(G3D, step.render.color == VKRRenderPassAction::CLEAR || step.render.color == VKRRenderPassAction::DONT_CARE, "Backbuffer pass should only be CLEAR or DONT_CARE");
_dbg_assert_msg_(G3D, step.render.depthStencil == VKRRenderPassAction::CLEAR || step.render.depthStencil == VKRRenderPassAction::DONT_CARE, "Backbuffer pass should only be CLEAR or DONT_CARE");
Uint8x4ToFloat4(clearVal[0].color.float32, step.render.clearColor);
numClearVals = 2; // We don't bother with a depth buffer here.
clearVal[1].depthStencil.depth = 0.0f;

0 comments on commit b84c15c

Please sign in to comment.