anv: Deduplicate anv_CmdDraw calls
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 6 Feb 2016 00:41:56 +0000 (16:41 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 6 Feb 2016 00:41:56 +0000 (16:41 -0800)
commitbdefaae2b92c15af4f2bff41b0e689325e762dc7
treeda3e88aebbed8bcec625c8cbe3edb33989a54f87
parent6cdada0360145a620b0d7a279342f8bced87c902
anv: Deduplicate anv_CmdDraw calls

These were all duplicated between gen7_cmd_buffer.c and
gen8_cmd_buffer.c. This commit consolidates both copies in
genX_cmd_buffer.c.
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c
src/vulkan/genX_cmd_buffer.c