<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 26, 2017 at 1:14 AM, Gwan-gyeong Mun <span dir="ltr"><<a href="mailto:elongbug@gmail.com" target="_blank">elongbug@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To check a valid usage requirement.<br>
<br>
Signed-off-by: Mun Gwan-gyeong <<a href="mailto:elongbug@gmail.com">elongbug@gmail.com</a>><br>
---<br>
 src/intel/vulkan/genX_cmd_<wbr>buffer.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/intel/vulkan/genX_cmd_<wbr>buffer.c b/src/intel/vulkan/genX_cmd_<wbr>buffer.c<br>
index fbc1995709..3559399019 100644<br>
--- a/src/intel/vulkan/genX_cmd_<wbr>buffer.c<br>
+++ b/src/intel/vulkan/genX_cmd_<wbr>buffer.c<br>
@@ -1006,6 +1006,7 @@ genX(BeginCommandBuffer)(<br>
    VkResult result = VK_SUCCESS;<br>
    if (cmd_buffer->usage_flags &<br>
        VK_COMMAND_BUFFER_USAGE_<wbr>RENDER_PASS_CONTINUE_BIT) {<br>
+      assert(pBeginInfo-><wbr>pInheritanceInfo);<br>
       cmd_buffer->state.pass =<br>
          anv_render_pass_from_handle(<wbr>pBeginInfo->pInheritanceInfo-><wbr>renderPass);<br>
       cmd_buffer->state.subpass =<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.14.1<br>
<br>
</font></span></blockquote></div><br></div>