diff options
author | Corbin Simpson <[email protected]> | 2009-03-16 09:48:07 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-03-17 02:13:02 -0700 |
commit | add896aec8783aedbaf8d0127d8da046ce2657b5 (patch) | |
tree | 3962cb0715d0843b0099952be3cb9b1f674d5240 /src/gallium/drivers/r300/r300_emit.c | |
parent | b95789ddb9ae0d8284349c6a2bb677a5b4b5573f (diff) |
r300-gallium: Fix relocation for textures.
This keeps texture emit from invalidating CS.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index ea726b9f9f2..7b09a41f9c6 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -301,8 +301,8 @@ void r300_emit_texture(struct r300_context* r300, OUT_CS_REG(R300_TX_FORMAT1_0 + (offset * 4), tex->state.format1); OUT_CS_REG(R300_TX_FORMAT2_0 + (offset * 4), tex->state.format2); OUT_CS_REG_SEQ(R300_TX_OFFSET_0 + (offset * 4), 1); - OUT_CS_RELOC(tex->buffer, 0, 0, RADEON_GEM_DOMAIN_GTT | - RADEON_GEM_DOMAIN_VRAM, 0); + OUT_CS_RELOC(tex->buffer, 0, + RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0, 0); END_CS; } |