summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.c
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/ilo/ilo_state.c
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/ilo/ilo_state.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c
index 37234ec08e8..53a5aca78cf 100644
--- a/src/gallium/drivers/ilo/ilo_state.c
+++ b/src/gallium/drivers/ilo/ilo_state.c
@@ -1536,7 +1536,7 @@ ilo_set_clip_state(struct pipe_context *pipe,
static void
ilo_set_constant_buffer(struct pipe_context *pipe,
uint shader, uint index,
- struct pipe_constant_buffer *buf)
+ const struct pipe_constant_buffer *buf)
{
const struct ilo_dev *dev = ilo_context(pipe)->dev;
struct ilo_state_vector *vec = &ilo_context(pipe)->state_vector;