diff options
author | Marek Olšák <[email protected]> | 2012-02-26 18:04:36 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-05 14:22:25 +0100 |
commit | 29e55bc5f1b6d7375b6a86e24ca4ae58e399011e (patch) | |
tree | 2ea897849a6dab0f9257e8649c682451152e81c1 /src/gallium/drivers/r300/r300_transfer.c | |
parent | 96ef4ddc3ddda4d1f637af86f4790d24f8f386c6 (diff) |
winsys/radeon: add usage parameter to cs_is_buffer_referenced
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_transfer.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c index 5e99cc467a8..d440db8e305 100644 --- a/src/gallium/drivers/r300/r300_transfer.c +++ b/src/gallium/drivers/r300/r300_transfer.c @@ -90,7 +90,7 @@ r300_texture_get_transfer(struct pipe_context *ctx, boolean referenced_cs, referenced_hw; referenced_cs = - r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf); + r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); if (referenced_cs) { referenced_hw = TRUE; } else { |