mesa: Make the register allocator allocation take a ralloc context.
authorEric Anholt <eric@anholt.net>
Thu, 12 Jan 2012 20:51:34 +0000 (12:51 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Jan 2012 17:59:11 +0000 (09:59 -0800)
commitb972744c78e45928876ea781b9eeef09b3baf083
tree0c1b8358937df391ae0f28d7f253195409b29999
parenta9eda41539bd63ed1835556ad3afc77ee01f6a6a
mesa: Make the register allocator allocation take a ralloc context.

This fixes a memory leak on i965 context destruction.

NOTE: This is a candidate for the 8.0 branch.
src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/mesa/program/register_allocate.c
src/mesa/program/register_allocate.h