ilo: use a bitmask for enabled constant buffers
authorChia-I Wu <olvaffe@gmail.com>
Wed, 26 Jun 2013 10:50:01 +0000 (18:50 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 26 Jun 2013 13:50:26 +0000 (21:50 +0800)
commitc610b67972b4a06a25699623d1134b197ae277e0
tree520cf079a990e1ddbe6de7a3849073f768541bf9
parent9aebad618c0aab527a0b838ce0a79ffa6dd426bb
ilo: use a bitmask for enabled constant buffers

Looping over 4 * 13 constant buffers while in most cases only two are enabled
is stupid.
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_state.c