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/include | |
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/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 6fde8753a72..7319835bcdb 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -314,7 +314,7 @@ struct pipe_context { */ void (*set_shader_buffers)(struct pipe_context *, unsigned shader, unsigned start_slot, unsigned count, - struct pipe_shader_buffer *buffers); + const struct pipe_shader_buffer *buffers); /** * Bind an array of images that will be used by a shader. |