anv: Don't include two different pack headers
authorKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 29 Nov 2016 00:16:48 +0000 (16:16 -0800)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Wed, 30 Nov 2016 06:02:49 +0000 (22:02 -0800)
commit908febcf214f0db8ec29f559644a2c26007235e9
tree5a043d726dbbd87ca4e3a68bd15a15df1647367d
parentbe9c2ab23b6a89b971100fc10359ddf7fe8ff849
anv: Don't include two different pack headers

The batch chain logic only needs the pre-gen8 size of
MI_BATCH_BUFFER_START, which seems like something we can make a special
case for. The other two gen7 references, MI_BATCH_BUFFER_END and
MI_NOOP, are the same on all gens.

Signed-off-by: Kristian H. Kristensen <hoegsberg@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_batch_chain.c