i965: Use the new brw_load_register_mem helper for draw indirect.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Jan 2014 04:51:28 +0000 (20:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Feb 2014 20:36:38 +0000 (12:36 -0800)
commite990234ff6fd0f8d393cc600bf4dc681105cc30c
tree6c4d2f08943c4cc6ae1154e96c137927f16a85d7
parentb7c435b26124464f18672acd17416ddd840d306b
i965: Use the new brw_load_register_mem helper for draw indirect.

This makes it work on Broadwell, too.

v2: Drop bogus double write to 3DPRIM_BASE_VERTEX register
    (caught by Chris Forbes).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_draw.c