diff options
author | Rob Clark <[email protected]> | 2016-06-07 12:49:37 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-06-20 12:36:20 -0400 |
commit | e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (patch) | |
tree | 6e962d01af8a71740f59bf12a11c71e710beb9d1 /src/gallium/drivers/softpipe | |
parent | 1167905c41d4594153d6649c0cade96a83831cbd (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/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_image.c b/src/gallium/drivers/softpipe/sp_state_image.c index b1810d3591f..81bb7ca88ee 100644 --- a/src/gallium/drivers/softpipe/sp_state_image.c +++ b/src/gallium/drivers/softpipe/sp_state_image.c @@ -56,7 +56,7 @@ static void softpipe_set_shader_buffers(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned num, - struct pipe_shader_buffer *buffers) + const struct pipe_shader_buffer *buffers) { struct softpipe_context *softpipe = softpipe_context(pipe); unsigned i; |