浏览代码

r600g: Fix segfault in r600_compute_global_transfer_map()

This segfault was caused by commit
369e46888904c6d379b8b477d9242cff1608e30e, however it is my fault for not
testing the patch while it was on the list.
tags/gles3-fmt-v1
Tom Stellard 13 年前
父节点
当前提交
b1e7bd7690
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/gallium/drivers/r600/evergreen_compute.c

+ 1
- 1
src/gallium/drivers/r600/evergreen_compute.c 查看文件

@@ -851,7 +851,7 @@ void *r600_compute_global_transfer_map(
struct compute_memory_pool *pool = rctx->screen->global_pool;
struct pipe_transfer *transfer = util_slab_alloc(&rctx->pool_transfers);
struct r600_resource_global* buffer =
(struct r600_resource_global*)transfer->resource;
(struct r600_resource_global*)resource;
uint32_t* map;

compute_memory_finalize_pending(pool, ctx_);

正在加载...
取消
保存