anv: Fix a harmless overflow warning
authorChad Versace <chad.versace@intel.com>
Tue, 14 Jun 2016 23:20:07 +0000 (16:20 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 15 Jun 2016 22:34:13 +0000 (15:34 -0700)
commitc99a0a8bcece2870f3e93328ab520efc2c9f7983
tree4f6e9e01df7c1ae78998c88cf3ddc928eefe5f71
parent067c5b10b690b949ac28c4aea237f398f8251fff
anv: Fix a harmless overflow warning

anv_pipeline_binding::index is a uint8_t, but some code assigned to it
UINT16_MAX.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewd-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pipeline.c