diff options
author | Laurent Carlier <[email protected]> | 2013-09-29 21:45:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-09-29 22:01:04 +0200 |
commit | 868791f0baa0b51f4255c839448d3ca87ab1aa35 (patch) | |
tree | ba8214bf505e93089c0d59f77c9e5c1198301e90 /src/gallium | |
parent | 4e9aa6711f933f9c85c9fd09831060541bc2003a (diff) |
r600g: Fix build failure introduced with r600_texture.c consolidation
It seems that case with opencl enabled was forgotten
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 076c09cce39..30692369694 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -532,10 +532,10 @@ static void evergreen_launch_grid( struct r600_bytecode *bc = &kernel->bc; LLVMModuleRef mod = kernel->llvm_module; boolean use_kill = false; - bool dump = (ctx->screen->debug_flags & DBG_CS) != 0; - unsigned use_sb = ctx->screen->debug_flags & DBG_SB_CS; + bool dump = (ctx->screen->b.debug_flags & DBG_CS) != 0; + unsigned use_sb = ctx->screen->b.debug_flags & DBG_SB_CS; unsigned sb_disasm = use_sb || - (ctx->screen->debug_flags & DBG_SB_DISASM); + (ctx->screen->b.debug_flags & DBG_SB_DISASM); r600_bytecode_init(bc, ctx->b.chip_class, ctx->b.family, ctx->screen->has_compressed_msaa_texturing); @@ -552,7 +552,7 @@ static void evergreen_launch_grid( kernel->code_bo = r600_compute_buffer_alloc_vram(ctx->screen, kernel->bc.ndw * 4); - p = r600_buffer_mmap_sync_with_rings(ctx, kernel->code_bo, PIPE_TRANSFER_WRITE); + p = r600_buffer_map_sync_with_rings(&ctx->b, kernel->code_bo, PIPE_TRANSFER_WRITE); memcpy(p, kernel->bc.bytecode, kernel->bc.ndw * 4); ctx->b.ws->buffer_unmap(kernel->code_bo->cs_buf); } |