summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-06-07 14:29:01 -0400
committerRob Clark <[email protected]>2016-06-20 12:36:20 -0400
commitef534b9389bc74b007d76d2a1776068d23e5b887 (patch)
treeb3e5c3ee0e6eacd537ac846253b824b28b9832f0 /src/gallium/drivers/radeonsi/si_state.h
parente1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (diff)
gallium: make constant_buffer const
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index ab34feca857..8d538e1c185 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -302,8 +302,7 @@ void si_emit_graphics_shader_userdata(struct si_context *sctx,
struct r600_atom *atom);
void si_emit_compute_shader_userdata(struct si_context *sctx);
void si_set_rw_buffer(struct si_context *sctx,
- uint slot, struct pipe_constant_buffer *input);
-
+ uint slot, const struct pipe_constant_buffer *input);
/* si_state.c */
struct si_shader_selector;