mesa/main: clean up integer texture check
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 15 Nov 2018 15:46:36 +0000 (16:46 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Dec 2018 17:16:44 +0000 (18:16 +0100)
commit70bfd312875810e23962a70c9ba98c8295d6a3fd
treeb5fd3a3bb0f6d8e18eebe6e0788d61220b238bff
parent5109742e7be2ba8c53fafd14e895cc9f0a8dd10c
mesa/main: clean up integer texture check

This makes the logic a little bit easier to follow, and reduce a bit of
repetition.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/context.h
src/mesa/main/glformats.c