mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
r600g/compute: Don't use radeon_winsys::buffer_wait() after dispatching a kernel
The state tracker should be responsible for waiting for the kernel to finish. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
09e47f7a25
commit
83a00a1de8
1 changed files with 0 additions and 6 deletions
|
|
@ -314,7 +314,6 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout,
|
|||
struct radeon_winsys_cs *cs = ctx->rings.gfx.cs;
|
||||
unsigned flush_flags = 0;
|
||||
int i;
|
||||
struct r600_resource *onebo = NULL;
|
||||
struct evergreen_compute_resource *resources =
|
||||
ctx->cs_shader_state.shader->resources;
|
||||
|
||||
|
|
@ -390,7 +389,6 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout,
|
|||
}
|
||||
|
||||
if (resources[i].bo) {
|
||||
onebo = resources[i].bo;
|
||||
evergreen_emit_ctx_reloc(ctx,
|
||||
resources[i].bo,
|
||||
resources[i].usage);
|
||||
|
|
@ -431,10 +429,6 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout,
|
|||
ctx->flags = 0;
|
||||
|
||||
COMPUTE_DBG(ctx->screen, "shader started\n");
|
||||
|
||||
ctx->ws->buffer_wait(onebo->buf, 0);
|
||||
|
||||
COMPUTE_DBG(ctx->screen, "...\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue