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>
struct lp_jit_buffer ssbos[LP_MAX_TGSI_SHADER_BUFFERS];
- void *kernel_args;
+ const void *kernel_args;
uint32_t shared_size;
}
static void
-llvmpipe_cs_update_derived(struct llvmpipe_context *llvmpipe, void *input)
+llvmpipe_cs_update_derived(struct llvmpipe_context *llvmpipe, const void *input)
{
if (llvmpipe->cs_dirty & LP_CSNEW_CONSTANTS) {
lp_csctx_set_cs_constants(llvmpipe->csctx,
struct pipe_image_view current;
} images[LP_MAX_TGSI_SHADER_IMAGES];
- void *input;
+ const void *input;
};
struct lp_cs_context *lp_csctx_create(struct pipe_context *pipe);
* 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