diff options
author | Marek Olšák <[email protected]> | 2012-12-22 19:05:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-22 19:39:29 +0100 |
commit | a58bf9d8f9c683b98aee4759533c997557b2c848 (patch) | |
tree | 0586d0ffef1dd8f6897b342bb2a04038c25399c9 /src/gallium/drivers/r600/evergreen_compute.c | |
parent | 9ef26fc667ab00072a23ca4d7bb1e8181d8fb1b1 (diff) |
r600g: rename GPU_FLUSH -> INVAL_READ_CACHES
because that's what it does.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index ea75d805e06..8d3050beff0 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -98,7 +98,7 @@ static void evergreen_cs_set_vertex_buffer( /* The vertex instructions in the compute shaders use the texture cache, * so we need to invalidate it. */ - rctx->flags |= R600_CONTEXT_GPU_FLUSH; + rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES; state->enabled_mask |= 1 << vb_index; state->dirty_mask |= 1 << vb_index; state->atom.dirty = true; @@ -409,7 +409,7 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout, /* XXX evergreen_flush_emit() hardcodes the CP_COHER_SIZE to 0xffffffff */ - ctx->flags |= R600_CONTEXT_GPU_FLUSH; + ctx->flags |= R600_CONTEXT_INVAL_READ_CACHES; r600_flush_emit(ctx); #if 0 @@ -468,7 +468,7 @@ void evergreen_emit_cs_shader( r600_write_value(cs, r600_context_bo_reloc(rctx, kernel->code_bo, RADEON_USAGE_READ)); - rctx->flags |= R600_CONTEXT_GPU_FLUSH; + rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES; } static void evergreen_launch_grid( |