r300g: fix blitting between 2D NPOT mipmaps
authorMarek Olšák <maraeo@gmail.com>
Sat, 28 Aug 2010 05:54:36 +0000 (07:54 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 28 Aug 2010 20:37:53 +0000 (22:37 +0200)
commitc5b8ba9368fe935af9f350874f3c03f5a230d4b5
tree0bad3d2314ae3ad60ae24ab2312cc0003a0e0025
parentc0f0eb866880ff3e701cd3a532d49417f2743283
r300g: fix blitting between 2D NPOT mipmaps

Even though MIP filtering is not supported, we can bind an arbitrary mipmap
as the zero mipmap level.

NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD.

This fixes piglit/fbo-copyteximage.
src/gallium/drivers/r300/r300_reg.h
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_texture.h