gallium: mark the input data as const in pipe_grid_info
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17334>
This commit is contained in:
@@ -934,7 +934,7 @@ struct pipe_grid_info
|
||||
* Will be used to initialize the INPUT resource, and it should point to a
|
||||
* buffer of at least pipe_compute_state::req_input_mem bytes.
|
||||
*/
|
||||
void *input;
|
||||
const void *input;
|
||||
|
||||
/**
|
||||
* Grid number of dimensions, 1-3, e.g. the work_dim parameter passed to
|
||||
|
Reference in New Issue
Block a user