diff options
author | Marek Olšák <[email protected]> | 2017-03-28 22:20:56 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 16:09:29 +0200 |
commit | abb25fb18e2b0052d050030cf3f74485b18d4e5e (patch) | |
tree | caa58608f88f9ea63b7db51ac0a08df85c76c60f /src/gallium/auxiliary/util/u_index_modify.h | |
parent | 7d99f48b5e350523fbfb7d70d4e576758a4bb830 (diff) |
gallium/util: use const in u_index_modify helpers
Reviewed-by: Nicolai Hähnle <[email protected]>
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_index_modify.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_index_modify.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_index_modify.h b/src/gallium/auxiliary/util/u_index_modify.h index 0cfc189ede1..d009199b012 100644 --- a/src/gallium/auxiliary/util/u_index_modify.h +++ b/src/gallium/auxiliary/util/u_index_modify.h @@ -28,7 +28,7 @@ struct pipe_resource; struct pipe_index_buffer; void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context, - struct pipe_index_buffer *ib, + const struct pipe_index_buffer *ib, unsigned add_transfer_flags, int index_bias, unsigned start, @@ -36,14 +36,14 @@ void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context, void *out); void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context, - struct pipe_index_buffer *ib, + const struct pipe_index_buffer *ib, unsigned add_transfer_flags, int index_bias, unsigned start, unsigned count, void *out); void util_rebuild_uint_elts_to_userptr(struct pipe_context *context, - struct pipe_index_buffer *ib, + const struct pipe_index_buffer *ib, unsigned add_transfer_flags, int index_bias, unsigned start, unsigned count, |