diff options
author | Chad Versace <[email protected]> | 2011-11-10 18:39:25 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-11-15 06:42:05 -0800 |
commit | 5365ba19db8e9d714604bb63f037800ba2ff2f4d (patch) | |
tree | 504ce67e9a48eb07b59ae88657dc07a79117160c /src/mesa/swrast/s_drawpix.c | |
parent | 87d6b359745b6b2c94d1c852ce27e2879d4bec56 (diff) |
intel: Fix software detiling of system stencil buffers
If a window system stencil buffer had a region with odd height, then the
calculated y offset needed for software detiling was off by one. The bug
existed in intel_{map,unmap}_renderbuffer_s8() and in the intel_span.c
accessors.
Fixes the following Piglit tests on gen7:
general/depthstencil-default_fb-readpixels-24_8
general/depthstencil-default_fb-readpixels-FLOAT-and-USHORT
Fixes SIGABRT in the following Piglit tests on gen7:
general/depthstencil-default_fb-blit
general/depthstencil-default_fb-copypixels
general/depthstencil-default_fb-drawpixels-24_8
general/depthstencil-default_fb-drawpixels-FLOAT-and-USHORT
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
0 files changed, 0 insertions, 0 deletions