diff options
author | Maciej Cencora <[email protected]> | 2009-11-14 16:55:39 +0100 |
---|---|---|
committer | Maciej Cencora <[email protected]> | 2009-11-14 16:55:39 +0100 |
commit | 23ec7c457483aae1e0d399e9b570f1860c27c780 (patch) | |
tree | 3b06fd57279cf39a795a48855376bf41f4dcb95c /src/mesa/drivers/dri/r300/r300_cmdbuf.c | |
parent | 8f88cf3938f0156d4df6fcc5fde2711d40b85d03 (diff) |
radeon: rework mipmap tree
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 8a56b9e63cb..4b5ed2d4102 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -169,7 +169,7 @@ static void emit_tex_offsets(GLcontext *ctx, struct radeon_state_atom * atom) if (t && !t->image_override) { BEGIN_BATCH_NO_AUTOSTATE(4); OUT_BATCH_REGSEQ(R300_TX_OFFSET_0 + (i * 4), 1); - OUT_BATCH_RELOC(t->tile_bits, t->mt->bo, 0, + OUT_BATCH_RELOC(t->tile_bits, t->mt->bo, get_base_teximage_offset(t), RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0, 0); END_BATCH(); } else if (!t) { |