• Paul Berry's avatar
    i965/blorp: allow all buffer formats provided src and dst match. · 9fd0e76a
    Paul Berry authored
    Previously, blits using the "blorp" mechanism only worked for 8-bit
    RGBA color buffers, 24-bit depth buffers, and 8 bit stencil buffers.
    This was not enough, because the blorp mechanism must be used for
    blitting whenever MSAA is in use.  This patch allows all formats to be
    used, provided the source and destination formats match.
    
    So far I have confirmed that the following formats work properly with
    MSAA:
    - GL_RGB
    - GL_RGBA
    - GL_ALPHA
    - GL_ALPHA4
    - GL_ALPHA8
    - GL_R3_G3_B2
    - GL_RGB4
    - GL_RGB5
    - GL_RGB8
    - GL_RGB10
    - GL_RGB12
    - GL_RGB16
    - GL_RGBA2
    - GL_RGBA4
    - GL_RGB5_A1
    - GL_RGBA8
    - GL_RGB10_A2
    - GL_RGBA12
    - GL_RGBA16
    
    Fixes piglit tests "EXT_framebuffer_multisample/formats {2,4}" on
    Sandy Bridge and Ivy Bridge.
    Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    9fd0e76a
Name
Last commit
Last update
bin Loading commit data...
configs Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
src Loading commit data...
tests Loading commit data...
.emacs-dirvars Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
Makefile Loading commit data...
SConstruct Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...