r600g: fix height calcs for miptree
authorDave Airlie <airlied@redhat.com>
Wed, 18 Aug 2010 00:50:19 +0000 (10:50 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Aug 2010 00:50:19 +0000 (10:50 +1000)
commitedb465e9bb1b45a6db5aca85a002c0f4958deff0
tree062514ead58ff8a21edc42329e79d9f93ef34dbf
parent1d18739290fa667dc81d6780d695a09f8c1cde99
r600g: fix height calcs for miptree

h needs to be rounded up, this probably needs revisiting when we get
to tiling etc.

fixes fbo-generatemipmap-npot
src/gallium/drivers/r600/r600_texture.c