turnip: allow writes to draw_cs outside of render pass
authorJonathan Marek <jonathan@marek.ca>
Wed, 4 Dec 2019 19:29:58 +0000 (14:29 -0500)
committerJonathan Marek <jonathan@marek.ca>
Wed, 4 Dec 2019 22:35:18 +0000 (17:35 -0500)
commitec28714b7810b07d48164f8efa90c8d47e65e19f
treecec884a8f8feb510c12082877c6850142294fec1
parent372ed42d222a274abe712b62f4b037cbeb6fddb5
turnip: allow writes to draw_cs outside of render pass

This is for state commands like CmdSetViewport that can be used outside of
a renderpass. Accumulating those into draw_cs outside of the renderpass
should have the desired effect.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_cmd_buffer.c