anv: Only include the pack headers where needed
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 Nov 2015 20:29:07 +0000 (12:29 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 Nov 2015 20:29:09 +0000 (12:29 -0800)
commitde54b4b18fea9358cc6f0e7dc9f64256be00be06
treee679f5ee3fe2d5ee4e3a8784ef4b1871d5de5d5d
parentcb9e2305f87e7f3bad5a1b619f5679b335052d46
anv: Only include the pack headers where needed

Previously, we were including gen7_pack.h, gen75_pack.h, and gen8_pack.h
in anv_private.h.  As we add more gens, this is going to become untenable.
This commit moves things around so that we only use the pack headers when
and if we need them.
12 files changed:
src/vulkan/anv_batch_chain.c
src/vulkan/anv_device.c
src/vulkan/anv_formats.c
src/vulkan/anv_image.c
src/vulkan/anv_pipeline.c
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen7_pipeline.c
src/vulkan/gen7_state.c
src/vulkan/gen8_cmd_buffer.c
src/vulkan/gen8_pipeline.c
src/vulkan/gen8_state.c