summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-06-29 14:05:27 -0700
committerMatt Turner <mattst88@gmail.com>2015-11-12 11:00:10 -0800
commit93e371c140cb1aa438ce3c1a9946811d92032897 (patch)
treed102420ad1513e4c0c1147f845df4f45913eed71 /src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
parent9ab45b4df91fadcbbec62828265644d7463b78bb (diff)
downloadexternal_mesa3d-93e371c140cb1aa438ce3c1a9946811d92032897.zip
external_mesa3d-93e371c140cb1aa438ce3c1a9946811d92032897.tar.gz
external_mesa3d-93e371c140cb1aa438ce3c1a9946811d92032897.tar.bz2
i965: Set annotation_info's mem_ctx.
It was being memset to 0 previously. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_generator.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
index 693f583..f5e493e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
@@ -1560,7 +1560,7 @@ generate_code(struct brw_codegen *p,
dump_assembly(p->store, annotation.ann_count, annotation.ann,
p->devinfo);
- ralloc_free(annotation.ann);
+ ralloc_free(annotation.mem_ctx);
}
compiler->shader_debug_log(log_data,