summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_screen.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-07-28 15:57:23 -0600
committerBrian Paul <[email protected]>2016-06-10 15:50:04 -0600
commite295b4e800a0595f96d775ebd383b8a358f8fdbc (patch)
treecbe313d0fdf4eb93775014cf1c0a18d72835da62 /src/gallium/drivers/softpipe/sp_screen.c
parentdd4be2e19a2261c9b60be4bb6e6268c7fd0c0bce (diff)
st/mesa: tweak surface format mapping table
1. Try to choose R8G8B8A8 unorm/srgb formats before others in an effort to try to match component ordering for UINT/SINT/etc. 2. If we can't get a format such as PIPE_FORMAT_A16_UNORM, try PIPE_FORMAT_R16G16B16A16_UNORM before shallower formats. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
0 files changed, 0 insertions, 0 deletions