mesa/st: ETC2 now uses R8G8B8A8_SRGB as fallback
authorGert Wollny <gert.wollny@collabora.com>
Thu, 9 Aug 2018 10:46:52 +0000 (12:46 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Fri, 10 Aug 2018 08:09:22 +0000 (10:09 +0200)
commite94095ec30462d4264c6d7c7dd4fbf8bc0d99c69
treed7e7d2058066c5562b91c029e34f7816850a2d90
parent08fe9b3e3a5bd18db39daa56ecae3fc1a0708ff5
mesa/st: ETC2 now uses R8G8B8A8_SRGB as fallback

The check for ETC2 compatibility was not updated when the fallback
format was changed.

Fixes: 71867a0a61cea20bf3f6115692e70b0d60f0b70d
   st/mesa: Fall back to R8G8B8A8_SRGB for ETC2

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_extensions.c