summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-18 12:34:44 +0200
committerMarek Olšák <[email protected]>2015-05-26 11:46:28 +0200
commit92c31bb0dd8149d3e5db48b8dec62b242be80d28 (patch)
tree7d45b49821fd3e723422e5fac0075bb549b07760 /src/gallium/drivers/trace
parent967825d053f71c5f5fc3ba31eabc0c6004fde4f1 (diff)
gallium: use const in set_tess_state
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r--src/gallium/drivers/trace/tr_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index a1aeebdf65b..0013c963e7a 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -1511,8 +1511,8 @@ static void trace_context_memory_barrier(struct pipe_context *_context,
static void trace_context_set_tess_state(struct pipe_context *_context,
- float default_outer_level[4],
- float default_inner_level[2])
+ const float default_outer_level[4],
+ const float default_inner_level[2])
{
struct trace_context *tr_context = trace_context(_context);
struct pipe_context *context = tr_context->pipe;