diff options
author | Eric Anholt <[email protected]> | 2013-04-16 17:21:20 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-05-15 09:43:45 -0700 |
commit | 028c11e8e3a8bc24938b665264fddcb566f59d18 (patch) | |
tree | 7f8af5be821faaa55232906a1139d9619442e7be /src/mesa/drivers | |
parent | 2e057076a8bdc53d976fe7515fdb2ab2fbfcd5ba (diff) |
i965: Use the Mesa surface formats for float RGB surfaces.
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 | 4 |
1 files changed, 2 insertions, 2 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 1dcdd93b498..14216e52152 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -563,10 +563,10 @@ brw_format_for_mesa_format(gl_format mesa_format) [MESA_FORMAT_XRGB2101010_UNORM] = BRW_SURFACEFORMAT_B10G10R10X2_UNORM, [MESA_FORMAT_XBGR16161616_UNORM] = BRW_SURFACEFORMAT_R16G16B16X16_UNORM, [MESA_FORMAT_XBGR16161616_SNORM] = 0, - [MESA_FORMAT_XBGR16161616_FLOAT] = 0, + [MESA_FORMAT_XBGR16161616_FLOAT] = BRW_SURFACEFORMAT_R16G16B16X16_FLOAT, [MESA_FORMAT_XBGR16161616_UINT] = 0, [MESA_FORMAT_XBGR16161616_SINT] = 0, - [MESA_FORMAT_XBGR32323232_FLOAT] = 0, + [MESA_FORMAT_XBGR32323232_FLOAT] = BRW_SURFACEFORMAT_R32G32B32X32_FLOAT, [MESA_FORMAT_XBGR32323232_UINT] = 0, [MESA_FORMAT_XBGR32323232_SINT] = 0, }; |