From de54b4b18fea9358cc6f0e7dc9f64256be00be06 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 16 Nov 2015 12:29:07 -0800 Subject: 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. --- src/vulkan/gen8_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vulkan/gen8_pipeline.c') diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c index e98045248a4..81bc254b3f7 100644 --- a/src/vulkan/gen8_pipeline.c +++ b/src/vulkan/gen8_pipeline.c @@ -29,6 +29,8 @@ #include "anv_private.h" +#include "gen8_pack.h" + static void emit_vertex_input(struct anv_pipeline *pipeline, const VkPipelineVertexInputStateCreateInfo *info) -- cgit v1.2.3