anv: error out if anv_genX.h is included by !anv_private.h
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 11 Oct 2016 17:26:25 +0000 (18:26 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 10:53:43 +0000 (11:53 +0100)
commitae6fb9c92285539980dea4936cc45d1d20dc8da6
tree8756471da3a1b8e47733685bccd8b653924b7a93
parent08efa6a19f1c6448cb0fa7807d16521291b2d3b9
anv: error out if anv_genX.h is included by !anv_private.h

Update the comment to reflect the correct filename and add a guard to
catch incorrect inclusion of the header.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/anv_genX.h