i965/fs: Name temporary ralloc contexts something other than mem_ctx.
authorMatt Turner <mattst88@gmail.com>
Wed, 26 Mar 2014 22:58:12 +0000 (15:58 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 5 Apr 2014 16:44:54 +0000 (09:44 -0700)
commit63d57f3b086db1e403df5d8f61a368df5e2f5afc
tree852607e608ed6e771f657f30a972e879ecf226b4
parent26012c16737a8542316062ef17fa9a0b34e274b7
i965/fs: Name temporary ralloc contexts something other than mem_ctx.

Or else poor programmers might mistakenly use the temporary mem_ctx,
instead of the fs_visitor's mem_ctx and wonder why their code is
crashing.

Also remove the parenting. These contexts are local to the optimization
passes they're in and are freed at the end.
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_cse.cpp