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:
Karol Herbst
2022-07-01 14:40:33 +02:00
committed by Marge Bot
parent caf2794f6f
commit d1427563e3
4 changed files with 4 additions and 4 deletions

View File

@@ -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