diff options
author | Marek Olšák <[email protected]> | 2010-08-28 07:54:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-08-28 22:37:53 +0200 |
commit | c5b8ba9368fe935af9f350874f3c03f5a230d4b5 (patch) | |
tree | 0bad3d2314ae3ad60ae24ab2312cc0003a0e0025 /src/gallium/drivers/r300/r300_reg.h | |
parent | c0f0eb866880ff3e701cd3a532d49417f2743283 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/r300/r300_reg.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_reg.h b/src/gallium/drivers/r300/r300_reg.h index 60d3b600cb7..6bea783f697 100644 --- a/src/gallium/drivers/r300/r300_reg.h +++ b/src/gallium/drivers/r300/r300_reg.h @@ -1607,6 +1607,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. # define R300_TX_FORMAT_3D (1 << 25) # define R300_TX_FORMAT_CUBIC_MAP (2 << 25) +# define R300_TX_FORMAT_TEX_COORD_TYPE_MASK (0x3 << 25) /* alpha modes, convenience mostly */ /* if you have alpha, pick constant appropriate to the |