summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-06-07 12:49:37 -0400
committerRob Clark <[email protected]>2016-06-20 12:36:20 -0400
commite1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (patch)
tree6e962d01af8a71740f59bf12a11c71e710beb9d1 /src/gallium/drivers/trace
parent1167905c41d4594153d6649c0cade96a83831cbd (diff)
gallium: make shader_buffers const
Be consistent with the rest of the "set_xyz" state interfaces. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r--src/gallium/drivers/trace/tr_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index 18c5c4345a7..7ea5946542a 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -1671,7 +1671,7 @@ trace_context_set_tess_state(struct pipe_context *_context,
static void trace_context_set_shader_buffers(struct pipe_context *_context,
unsigned shader,
unsigned start, unsigned nr,
- struct pipe_shader_buffer *buffers)
+ const struct pipe_shader_buffer *buffers)
{
struct trace_context *tr_context = trace_context(_context);
struct pipe_context *context = tr_context->pipe;