radv: fix rendering to b10g11r11_ufloat_pack32
authorDave Airlie <airlied@redhat.com>
Fri, 23 Dec 2016 06:41:32 +0000 (06:41 +0000)
committerDave Airlie <airlied@gmail.com>
Mon, 26 Dec 2016 00:31:20 +0000 (10:31 +1000)
commitb5bb8b54cf285277215fece1bc31051434d58b91
treec5105444a4a624cf6ea6b3799ba4ad686de465a3
parent4813c9ade70b4181ccf5d0ab462cf34da96373a6
radv: fix rendering to b10g11r11_ufloat_pack32

doom was causing a printf about an illegal color, it was due the
non-void returning -1, and the other function checking for 4,
align these.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c