gallium/{r600, radeonsi}: Fix segfault with color format (v2)
authorDenis Pauk <pauk.denis@gmail.com>
Tue, 12 Sep 2017 20:38:45 +0000 (23:38 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 13 Sep 2017 22:59:24 +0000 (00:59 +0200)
commit74d2456491fbd96eb3fb99cf8dd3595b223c2065
tree433aa22af9f3f372987d703e89ac5d193d445597
parentedfd8d42a9ac870a6ebc5a56fc003f60f86b702c
gallium/{r600, radeonsi}: Fix segfault with color format (v2)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102552

v2: Patch cleanup proposed by Nicolai Hähnle.
    * deleted changes in si_translate_texformat.

Cc: Nicolai Hähnle <nhaehnle@gmail.com>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_format.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeonsi/si_state.c