st/nine: Refactor nine_d3d9_to_pipe_format_map
authorAxel Davy <axel.davy@ens.fr>
Sat, 10 Jan 2015 11:38:02 +0000 (12:38 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 5 Feb 2015 23:07:18 +0000 (00:07 +0100)
commitf8713b1bfd0099e262f1224bb5fb02ee42838d55
tree880914d45f31037895e09943213de31264ee06ae
parent4cf5701160b104afa039c616a79dfce53f814952
st/nine: Refactor nine_d3d9_to_pipe_format_map

The order of the format is changed to have
an increasing ordering of the d3d9 format values.

Some missing formats are added and matched to PIPE_FORMAT_NONE

Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_pipe.c