mesa/es: Add a sanity check to APIspec.py.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 23 Nov 2009 05:49:08 +0000 (13:49 +0800)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Jan 2010 21:15:15 +0000 (14:15 -0700)
commitc3bd85791766e4a6f3896ea724e18640e56c6808
tree51b8789b62c145dd49ca5021c9e369b33b5c7254
parent8264a6a8a6486562a86bb0da3f631c298edbd303
mesa/es: Add a sanity check to APIspec.py.

Some attributes are constant in a switch.  Raise an exception if they
are not.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/mesa/es/main/APIspec.py