diff options
author | Marek Olšák <[email protected]> | 2010-06-02 07:00:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-02 07:09:51 +0200 |
commit | 53beea574ffb19156e86d891f54316f9fabdd62a (patch) | |
tree | 59834595615dfc442893ec3dccfd6b4bbcb89e8c /src/gallium/drivers/r300/r300_render.c | |
parent | b6b76cbb20b3d9467011231069e23972b98afa49 (diff) |
r300g: use the stored GEM domain in add_buffer/write_reloc
I admit blitting to/from GTT is actually enforced in this commit,
texture transfers are now damned fast!
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 952ff9938b0..83780037cf5 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -422,7 +422,7 @@ static void r300_emit_draw_elements(struct r300_context *r300, (0 << R300_INDX_BUFFER_SKIP_SHIFT)); OUT_CS(offset_dwords << 2); OUT_CS_BUF_RELOC(indexBuffer, count_dwords, - R300_DOMAIN_GTT, 0, 0); + r300_buffer(indexBuffer)->domain, 0, 0); END_CS; } |