diff options
author | Dave Airlie <[email protected]> | 2017-11-03 11:11:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-12-05 20:31:24 +0000 |
commit | dd3630f71c2fd23e58cf589acadbcdd2a3d4c24a (patch) | |
tree | 80ba6cd19e1030712108e68a3ab96226adfd887b /src/gallium/drivers/r600/r600_state_common.c | |
parent | 84feb6c24afcf281a66b52b7d445ce95d185537a (diff) |
r600/cs: add support for compute to image/buffers/atomics state
This just adds the compute paths to state handling for the
main objects
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index ee3340f6e81..6b0045f2d52 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -1893,7 +1893,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info : info->mode; if (rctx->b.chip_class >= EVERGREEN) - evergreen_emit_atomic_buffer_setup(rctx, combined_atomics, &atomic_used_mask); + evergreen_emit_atomic_buffer_setup(rctx, NULL, combined_atomics, &atomic_used_mask); if (index_size) { index_offset += info->start * index_size; @@ -2177,7 +2177,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info if (rctx->b.chip_class >= EVERGREEN) - evergreen_emit_atomic_buffer_save(rctx, combined_atomics, &atomic_used_mask); + evergreen_emit_atomic_buffer_save(rctx, false, combined_atomics, &atomic_used_mask); if (rctx->trace_buf) eg_trace_emit(rctx); |