anv: assert inheritance_info is not NULL
Makes some static analysis tools happier. Reviewed-by: Mark Janes <markjanes@swizzler.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17809>
This commit is contained in:
parent
1bb92a3178
commit
a05fcc94c2
|
@ -1694,6 +1694,7 @@ genX(BeginCommandBuffer)(
|
||||||
const VkCommandBufferInheritanceRenderingInfo *inheritance_info =
|
const VkCommandBufferInheritanceRenderingInfo *inheritance_info =
|
||||||
vk_get_command_buffer_inheritance_rendering_info(cmd_buffer->vk.level,
|
vk_get_command_buffer_inheritance_rendering_info(cmd_buffer->vk.level,
|
||||||
pBeginInfo);
|
pBeginInfo);
|
||||||
|
assert(inheritance_info);
|
||||||
|
|
||||||
gfx->rendering_flags = inheritance_info->flags;
|
gfx->rendering_flags = inheritance_info->flags;
|
||||||
gfx->render_area = (VkRect2D) { };
|
gfx->render_area = (VkRect2D) { };
|
||||||
|
|
Loading…
Reference in New Issue