intel: Stop creating the wrapped stencil irb.
authorEric Anholt <eric@anholt.net>
Wed, 7 Dec 2011 23:02:02 +0000 (15:02 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 19 Dec 2011 21:20:11 +0000 (13:20 -0800)
commit0b8b6c7e974930daf12e97fb8f0b2a2cc29396d9
tree7494e8e32d23e330449f75fa5b4bd943aba1d277
parent35db326de5b173b06344c1a50321a02c2e6e7d93
intel: Stop creating the wrapped stencil irb.

There were only two places it was really used at this point, which was
in the batchbuffer emit of the separate stencil packets for gen6/7.
Just write in the ->stencil_mt reference in those two places and ditch
all this flailing around with allocation and refcounts.

v2: Fix separate stencil on gen7.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_fbo.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.h