mesa: Convert some runtime asserts to static asserts.
authorEric Anholt <eric@anholt.net>
Fri, 20 Sep 2013 03:06:35 +0000 (20:06 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Sep 2013 19:45:22 +0000 (12:45 -0700)
commit669b88eb12496dd5f1ba933a56c8311624245639
treeb29a0c0119cf31b0e540894236a77bbb41ada9a3
parent673129e0b936b1c748e988d3f74f3efaab9e5693
mesa: Convert some runtime asserts to static asserts.

Noticed while grepping through the code for something else.

v2: Don't convert really-runtime asserts to static asserts.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@.intel.com>
src/mesa/program/program.c