On Mon, Dec 18, 2017 at 2:55 AM, Samuel Iglesias Gonsálvez <
sigles...@igalia.com> wrote:
>
>
> On 15/12/17 16:46, Jason Ekstrand wrote:
> > Ugh... The problem here is that we may not know the framebuffer in
> > CmdCearAttachments if it's in a secondary command buffer. I'm not
> > actually sure
On 15/12/17 16:46, Jason Ekstrand wrote:
> Ugh... The problem here is that we may not know the framebuffer in
> CmdCearAttachments if it's in a secondary command buffer. I'm not
> actually sure what to do in that case. I guess we could store the
> number of later somewhere and teach blorp how
Ugh... The problem here is that we may not know the framebuffer in
CmdCearAttachments if it's in a secondary command buffer. I'm not actually
sure what to do in that case. I guess we could store the number of later
somewhere and teach blorp how to do an indirect draw. Really, I think it
Blorp was not supporting the use of the constant VK_REMAINING_ARRAY_LAYERS
(whose value is ~0) in the VkClearRect structure. If we receive it, we need
to calculate the layer count as the image layers count minus the base array
layer.
Signed-off-by: Samuel Iglesias Gonsálvez