diff options
author | Eric Anholt <[email protected]> | 2011-11-15 16:53:48 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-22 13:58:39 -0800 |
commit | f8b13ba1374bd4369ad85f7f2becec375f0b66ad (patch) | |
tree | 1ea34aab3c042e1bd5eaa5864f3a2a78ac20ab06 /src/mesa/drivers | |
parent | b0a0f4bf14fbaa7df02db1d2057b287bfbea3347 (diff) |
i965: Add support for ARGB2101010 rendering.
GL 3.0 specifies GL_RGB10_A2 as a required sized format for rendering
and texturing.
This introduces two piglit regressions: one due to fbo-mipmap-copypix
hitting swrast GetRow (we want to convert swrast to MapRenderbuffer),
and one due to fbo-blending-formats being too picky while leaving
dithering on.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 0a3d5385c5e..5a6896e63b4 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -320,7 +320,7 @@ brw_format_for_mesa_format(gl_format mesa_format) [MESA_FORMAT_R16] = BRW_SURFACEFORMAT_R16_UNORM, [MESA_FORMAT_RG1616] = BRW_SURFACEFORMAT_R16G16_UNORM, [MESA_FORMAT_RG1616_REV] = 0, - [MESA_FORMAT_ARGB2101010] = 0, + [MESA_FORMAT_ARGB2101010] = BRW_SURFACEFORMAT_B10G10R10A2_UNORM, [MESA_FORMAT_Z24_S8] = 0, [MESA_FORMAT_S8_Z24] = 0, [MESA_FORMAT_Z16] = 0, |