i965/gen4: Refactor depth/stencil rebase
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 19 May 2017 12:53:40 +0000 (15:53 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Sun, 18 Jun 2017 07:46:44 +0000 (10:46 +0300)
commite08171ef5311b2bdd9438db41db1227465197325
tree1734b2db35cd02ea9ff0aece9884dd85c089792c
parent84b195b361148a1d98f9a65e2010dc7423dc4f73
i965/gen4: Refactor depth/stencil rebase

Effectively there is the same code twice, once for depth and
again for stencil.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c