gallivm: check for level=0 case in lp_build_minify()
authorBrian Paul <brianp@vmware.com>
Thu, 30 Sep 2010 16:52:26 +0000 (10:52 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Sep 2010 16:53:30 +0000 (10:53 -0600)
commit874f3a57ce5ae41ced103bf5a549a2eb663db6c5
tree0f3044a489256423e10b320747b4355aa940f262
parent4e6f5e8d43ee87c6f8cdc75de2eeb96f70beb013
gallivm: check for level=0 case in lp_build_minify()

This lets us avoid the shift and max() operations.
src/gallium/auxiliary/gallivm/lp_bld_sample.c