Re: [Mesa-dev] [PATCH v3] anv/cmd_buffer: check for NULL framebuffer

2019-02-11 Thread Jason Ekstrand
On Mon, Feb 11, 2019 at 5:30 AM Juan A. Suarez Romero wrote: > This can happen when we record a VkCmdDraw in a secondary buffer that > was created inheriting from the primary buffer, but with the framebuffer > set to NULL in the VkCommandBufferInheritanceInfo. > > Vulkan 1.1.81 spec says that "th

[Mesa-dev] [PATCH v3] anv/cmd_buffer: check for NULL framebuffer

2019-02-11 Thread Juan A. Suarez Romero
This can happen when we record a VkCmdDraw in a secondary buffer that was created inheriting from the primary buffer, but with the framebuffer set to NULL in the VkCommandBufferInheritanceInfo. Vulkan 1.1.81 spec says that "the application must ensure (using scissor if neccesary) that all renderin