i965: Add some missing bits to {mesa,brw,cache}_bits[].
authorPaul Berry <stereotype441@gmail.com>
Mon, 2 Sep 2013 00:52:20 +0000 (17:52 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 17 Sep 2013 22:18:18 +0000 (15:18 -0700)
commit4b0488ef4e3e4562c8e383282e0d2db183dfc5c1
tree922caa0fe6bbfce8362c8e304dcdd6e427d996d6
parent3374dabce7f7d3a8a698acc5354eb512e7a4d1af
i965: Add some missing bits to {mesa,brw,cache}_bits[].

These data structures are used for debug output, so it wasn't hurting
anything that there were missing bits.  But it's good to keep things
up to date.

This patch also adds static asserts so that the {brw,cache}_bits[]
arrays are the proper size, so that we don't forget to add to them in
the future.  Unfortunately there's no convenient way to assert that
mesa_bits[] is the proper size.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state_upload.c