intel: Fix intel_unmap_renderbuffer_s8()
authorChad Versace <chad.versace@linux.intel.com>
Thu, 10 Nov 2011 19:04:17 +0000 (11:04 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 15 Nov 2011 14:42:00 +0000 (06:42 -0800)
commit87d6b359745b6b2c94d1c852ce27e2879d4bec56
treed9fb14811766806812f8942427fdb9c10475a767
parentf911cac7a7a8ebcad711587200c7f66ab61d1ccf
intel: Fix intel_unmap_renderbuffer_s8()

When gathering the temporary buffer's pixles into the gem buffer, we had
the two buffers juxtaposed. Oops.

Fixes the following Piglit tests on gen7:
   general/GL_SELECT - alpha-test enabled
   general/GL_SELECT - depth-test enabled
   general/GL_SELECT - no test function
   general/GL_SELECT - scissor-test enabled
   general/GL_SELECT - stencil-test enabled

Fixes SIGABRT in Piglit tests EXT_framebuffer_object/fbo-stencil-* on
gen7.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c