intel: Fix region dimensions for stencil buffers received from DDX
authorChad Versace <chad.versace@linux.intel.com>
Tue, 15 Nov 2011 15:21:25 +0000 (07:21 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 15 Nov 2011 16:00:29 +0000 (08:00 -0800)
commit50b33560784dde428fbb5dfe7d428255874c496c
tree9312305ab8076ad6150ece1278e26e629a512be7
parentdc4c3a31c64aae2c3d76ccbd5bf54d04a1d5d041
intel: Fix region dimensions for stencil buffers received from DDX

I changed the dimensions of the stencil buffer's region, as allocated by
the DDX, at xf86-video-intel commit
   commit 3e55f3e88b40471706d5cd45c4df4010f8675c75
   dri: Do not tile stencil buffer
But I forgot to make the analogous update to the Intel DRI2 glue in Mesa.
This patch makes that update.

Surprisingly, the mismatch did not cause any bugs. But the mismatch, if
left unfixed, *would* create bugs in the next commit.

Note: This is a candidate for the 7.11 branch.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_context.c