i965/blorp/gen6: Use normal base state address setup
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 22 Apr 2016 13:01:12 +0000 (16:01 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Sat, 23 Apr 2016 04:09:39 +0000 (07:09 +0300)
commit0e850452d1af72ae2af3a77892483bd1564af481
tree46102a7a86d5e01e481126da3fbad2d3d8b02e95
parentae73e86497c4dc73324e6cffb15c3b147d3b7047
i965/blorp/gen6: Use normal base state address setup

This is identical to the blorp version which only differs in case
fragment shader isn't used. In that case blorp would reset batch
buffer address to zero.
This is not really needed, and having blorp to use base state
address setup that is compatible with normal upload allows one to
skip resetting it.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.h
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen7_blorp.cpp