diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-06-07 12:49:37 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2016-06-20 12:36:20 -0400 |
commit | e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (patch) | |
tree | 6e962d01af8a71740f59bf12a11c71e710beb9d1 /src/gallium/include | |
parent | 1167905c41d4594153d6649c0cade96a83831cbd (diff) | |
download | external_mesa3d-e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab.zip external_mesa3d-e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab.tar.gz external_mesa3d-e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab.tar.bz2 |
gallium: make shader_buffers const
Be consistent with the rest of the "set_xyz" state interfaces.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
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 6fde875..7319835 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. |