anv/pass: Remove redundant assert
authorChad Versace <chad.versace@intel.com>
Thu, 29 Oct 2015 18:47:39 +0000 (11:47 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 29 Oct 2015 18:47:39 +0000 (11:47 -0700)
Trivial fix.

src/vulkan/anv_pass.c

index 3eab1eb9181afe7b504036fbd7cc6ec3e2830090..c30602399066e44b29a5014919207c99f260deaa 100644 (file)
@@ -75,7 +75,6 @@ VkResult anv_CreateRenderPass(
 
          if (att->format->has_stencil &&
              att->stencil_load_op == VK_ATTACHMENT_LOAD_OP_CLEAR) {
 
          if (att->format->has_stencil &&
              att->stencil_load_op == VK_ATTACHMENT_LOAD_OP_CLEAR) {
-            assert(att->format->has_stencil);
             pass->has_stencil_clear_attachment = true;
          }
       }
             pass->has_stencil_clear_attachment = true;
          }
       }