anv: Emit DRAWING_RECTANGLE once at driver initialization
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Mar 2016 03:15:32 +0000 (19:15 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 May 2016 22:18:11 +0000 (15:18 -0700)
commitfb2a5ceb3264123e94a5e3f4d92cf6ec605e76e8
treed392b6dd9058588b9af10359c038a2b3190a7a3d
parent3a83c176eab8c513eb723554a240af1a7308d701
anv: Emit DRAWING_RECTANGLE once at driver initialization

Also, we don't actually need it for clipping because meta always colors
inside the lines and, for all other operations, the user is required to set
a scissor.  Since DRAWING_RECTANGLE stalls the GPU, we want to emit it as
little as possible.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_state.c