main: GL_RGB10_A2UI does not come with GL 3.0/EXT_texture_integer
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 4 Sep 2016 00:19:56 +0000 (20:19 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 7 Sep 2016 02:41:48 +0000 (22:41 -0400)
commit36347c8d6f265fb9b8ebcd598b189d3b43d6b513
treef27398874b5e1e8a7c8dbdb14740c14147119747
parent2b18a3f5d33e7f9a87ed7c2016e9fde657823286
main: GL_RGB10_A2UI does not come with GL 3.0/EXT_texture_integer

Add a separate extension check for that format. Prevents glTexImage from
trying to find a matching format, which fails on drivers without support
for this format.

Fixes: sized-texture-format-channels (on a3xx)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/main/glformats.c