i965: Extend brw_get_rb_for_first_slice() for specified level/layer
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 18 Apr 2014 23:02:42 +0000 (02:02 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 15 May 2014 18:39:33 +0000 (21:39 +0300)
commit9d752c098c5dc819fd08b9611ca52d847c1b9495
tree5568e203fd571e806c08c2d3f815663b4e405b03
parent36caae48b25b29310be1b7cbbafe7461bb51248d
i965: Extend brw_get_rb_for_first_slice() for specified level/layer

v2: Configure stencil directly for final dimensions instead of
    adjusting bit by bit for tiling, mip level and msaa.
v3 (Ken): Used non-static constant for horizontal alignment

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_meta_updownsample.c