OSDN Git Service

st/nine: Add support for X8L8V8U8
authorAxel Davy <axel.davy@ens.fr>
Mon, 7 Mar 2016 21:30:05 +0000 (22:30 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
commit10e548c0c954d50a594728b228f8d59b76579956
treebe75b668b45e824234c40d8f2e635603980c21f8
parent258ca1823c322661122d2d033c8b7facd3eb7767
st/nine: Add support for X8L8V8U8

X8L8V8U8 support should be common. Some more recent cards
do support this format, but not L6V5U5.

Add fallback for this format to have it alwaus supported.

L6V5U5 conversion rule apparently differs a bit from the normal
spec, and thus the gallium equivalent format leads to slightly
wrong colors. Since some recent cards do not support it, do not
support it either.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_pipe.c
src/gallium/state_trackers/nine/nine_pipe.h