diff options
author | Dave Airlie <[email protected]> | 2009-03-05 16:45:21 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-03-09 13:44:03 +1000 |
commit | c122cc40979b79a8dc4a529da6b375252b03db3f (patch) | |
tree | c61b9c2966788ed9e028b6d448c05127e7d72bb4 /src/mesa | |
parent | 778cf80d9e462ca26e660dca1910328f66f6427d (diff) |
r300: emit texture in GTT or VRAM
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 3626b877eb9..2c6618fc608 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -189,13 +189,13 @@ static void emit_tex_offsets(GLcontext *ctx, struct radeon_state_atom * atom) OUT_BATCH_REGSEQ(R300_TX_OFFSET_0 + (i * 4), 1); if (t && !t->image_override) { OUT_BATCH_RELOC(t->tile_bits, t->mt->bo, 0, - RADEON_GEM_DOMAIN_VRAM, 0, 0); + RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0, 0); } else if (!t) { OUT_BATCH(r300->radeon.radeonScreen->texOffset[0]); } else { /* override cases */ if (t->bo) { OUT_BATCH_RELOC(t->tile_bits, t->bo, 0, - RADEON_GEM_DOMAIN_VRAM, 0, 0); + RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0, 0); } else if (!r300->radeon.radeonScreen->kernel_mm) { OUT_BATCH(t->override_offset); } |