anv: use STATIC_ASSERT instead of static_assert
authorTapani Pälli <tapani.palli@intel.com>
Wed, 9 Nov 2016 07:02:39 +0000 (09:02 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 11 Nov 2016 05:59:29 +0000 (07:59 +0200)
commit23d1799f7dd5f8d1e8aa9f4efa6b1a4ed45faaa0
tree02b7fcff246d2d67b99b473fe55d25a5b39fce4b
parentec725dc140592f0d3e4fc3e830cfd1edaf5546c0
anv: use STATIC_ASSERT instead of static_assert

fixes following compilation warnings on Android build:

"warning: implicit declaration of function 'static_assert' is invalid in
C99 [-Wimplicit-function-declaration]"

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h