mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 10:58:15 +02:00
r300: get rid of ureg_program in ntr
Assisted-by: Codex (GPT-5.5) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41577>
This commit is contained in:
parent
c0f4b711e5
commit
d3ca1c6e5d
1 changed files with 0 additions and 5 deletions
|
|
@ -49,7 +49,6 @@ struct ntr_reg_interval {
|
|||
struct ntr_compile {
|
||||
nir_shader *s;
|
||||
nir_function_impl *impl;
|
||||
struct ureg_program *ureg;
|
||||
struct r300_shader_semantics *semantics;
|
||||
|
||||
/* Options */
|
||||
|
|
@ -1911,8 +1910,6 @@ nir_to_rc(struct nir_shader *s, struct pipe_screen *screen,
|
|||
}
|
||||
|
||||
c->s = s;
|
||||
c->ureg = ureg_create(s->info.stage);
|
||||
ureg_setup_shader_info(c->ureg, &s->info);
|
||||
/* Emit the main function */
|
||||
nir_function_impl *impl = nir_shader_get_entrypoint(c->s);
|
||||
ntr_emit_impl(c, impl);
|
||||
|
|
@ -1935,8 +1932,6 @@ nir_to_rc(struct nir_shader *s, struct pipe_screen *screen,
|
|||
|
||||
rc_calculate_inputs_outputs(compiler);
|
||||
|
||||
ureg_destroy(c->ureg);
|
||||
|
||||
ralloc_free(c);
|
||||
ralloc_free(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue