summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-06-25 17:56:01 +0000
committerTom Stellard <[email protected]>2012-07-09 13:41:17 +0000
commit5016fe2d47a08ce2cd7c597e67862086e7d63b64 (patch)
treebc1e28598b9080720db25bb53437bc196c490785 /src/gallium/drivers/r600/evergreen_compute.h
parent38be0966c7e58fb3017c222cf416ae2bdc0bee3d (diff)
r600g: Add start_compute_cs atom to struct r600_context
The start_compute_cs atom initializes some config and context registers to the values needed for running compute shaders. When a compute shader is dispatched, this atom is emitted after the start_cs_cmd atom, which initializes registers that are common to both 3D and compute. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.h')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.h b/src/gallium/drivers/r600/evergreen_compute.h
index a0881cde7db..809114d16a7 100644
--- a/src/gallium/drivers/r600/evergreen_compute.h
+++ b/src/gallium/drivers/r600/evergreen_compute.h
@@ -35,7 +35,7 @@ void *evergreen_create_compute_state(struct pipe_context *ctx, const const struc
void evergreen_delete_compute_state(struct pipe_context *ctx, void *state);
void evergreen_direct_dispatch( struct pipe_context *context, const uint *block_layout, const uint *grid_layout);
void evergreen_compute_upload_input(struct pipe_context *context, const uint *block_layout, const uint *grid_layout, const void *input);
-void evergreen_compute_init_config(struct r600_context *rctx);
+void evergreen_init_atom_start_compute_cs(struct r600_context *rctx);
void evergreen_init_compute_state_functions(struct r600_context *rctx);
struct pipe_resource *r600_compute_global_buffer_create(struct pipe_screen *screen, const struct pipe_resource *templ);