i965: Expose write_reg() as brw_store_register_mem64().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 May 2013 02:51:35 +0000 (19:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Oct 2013 08:06:26 +0000 (01:06 -0700)
commit30bb17047909dabd4cad627398502108d57a2eb0
tree20294c4396c2caf948c552db8160dd8a9975462d
parentd5db3ece0a5d1a543b55cce38e39543deadc82eb
i965: Expose write_reg() as brw_store_register_mem64().

Writing a 64-bit register value to memory is sufficiently complicated
that it makes sense to reuse this function rather than duplicating it.

Exposing it outside of gen6_queryobj.c means it needs a more descriptive
function name.  It could probably be moved to brw_util.c or somewhere
else, but this works too.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_queryobj.c