i965/vs: Do the temporary allocation in emit_scratch_write().
authorEric Anholt <eric@anholt.net>
Tue, 16 Oct 2012 00:48:07 +0000 (17:48 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Oct 2012 19:23:59 +0000 (12:23 -0700)
commitaf911b2819e5175008c67e6939d88ec28cda69d1
tree152f85167ad47347e38e17a3643d8d9af745bba2
parent9499f7984e7393f5acf214f126481695a774e8e7
i965/vs: Do the temporary allocation in emit_scratch_write().

Both callers were doing basically the same thing, just written differently.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp