}
bool gpir_compile_nir(struct lima_vs_shader_state *prog, struct nir_shader *nir,
- const struct pipe_debug_callback *debug)
+ struct pipe_debug_callback *debug)
{
nir_function_impl *func = nir_shader_get_entrypoint(nir);
gpir_compiler *comp = gpir_compiler_create(prog, func->reg_alloc, func->ssa_alloc);
/* gpir interface */
bool gpir_compile_nir(struct lima_vs_shader_state *prog, struct nir_shader *nir,
- const struct pipe_debug_callback *debug);
+ struct pipe_debug_callback *debug);
/* ppir interface */
bool ppir_compile_nir(struct lima_fs_shader_state *prog, struct nir_shader *nir,
struct ra_regs *ra,
- const struct pipe_debug_callback *debug);
+ struct pipe_debug_callback *debug);
struct ra_regs *ppir_regalloc_init(void *mem_ctx);
void lima_nir_lower_uniform_to_scalar(nir_shader *shader);
}
static void ppir_print_shader_db(struct nir_shader *nir, ppir_compiler *comp,
- const struct pipe_debug_callback *debug)
+ struct pipe_debug_callback *debug)
{
const struct shader_info *info = &nir->info;
char *shaderdb;
bool ppir_compile_nir(struct lima_fs_shader_state *prog, struct nir_shader *nir,
struct ra_regs *ra,
- const struct pipe_debug_callback *debug)
+ struct pipe_debug_callback *debug)
{
nir_function_impl *func = nir_shader_get_entrypoint(nir);
ppir_compiler *comp = ppir_compiler_create(prog, func->reg_alloc, func->ssa_alloc);