projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1059dc9
)
freedreno/ir3: fix cmdline compiler
author
Rob Clark
<robdclark@gmail.com>
Sat, 20 May 2017 15:18:08 +0000
(11:18 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Tue, 23 May 2017 16:26:35 +0000
(12:26 -0400)
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>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index
10cf9c4
..
fdec3f2
100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@
-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? */