From 29e55bc5f1b6d7375b6a86e24ca4ae58e399011e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 26 Feb 2012 18:04:36 +0100 Subject: winsys/radeon: add usage parameter to cs_is_buffer_referenced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Alex Deucher Reviewed-by: Christian König --- src/gallium/drivers/r300/r300_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300/r300_transfer.c') 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 { -- cgit v1.2.3