mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
freedreno/ir3: fix cmdline compiler
standalone_compiler_cleanup() frees the glsl types, among other things, so it needs to come after nir->ir3. But since we exit after dumping the disassembly, it is easier to just not call it at all. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
1059dc9165
commit
90dade300f
1 changed files with 0 additions and 2 deletions
|
|
@ -113,8 +113,6 @@ load_glsl(unsigned num_files, char* const* files, gl_shader_stage stage)
|
|||
|
||||
nir_shader *nir = glsl_to_nir(prog, stage, ir3_get_compiler_options(compiler));
|
||||
|
||||
standalone_compiler_cleanup(prog);
|
||||
|
||||
/* required NIR passes: */
|
||||
/* TODO cmdline args for some of the conditional lowering passes? */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue