OSDN Git Service

mesa/formats: add some formats from GL3.3
authorDave Airlie <airlied@redhat.com>
Thu, 30 Jul 2015 01:48:36 +0000 (02:48 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 6 Sep 2015 17:35:57 +0000 (18:35 +0100)
commitb497b88dbe6001f11e3e12da1eac1595ab08a6f6
tree23a2f8b2711581eb3ea9f439f88df9a81ed10366
parentdcb220f2f700bba0709fa246417f1e89676acbbb
mesa/formats: add some formats from GL3.3

GL3.3 added GL_ARB_texture_rgb10_a2ui, which specifies
a lot more things than just rgb10/a2ui.

While playing with ogl conform one of the tests must
attempted all valid formats for GL3.3 and hits the
unreachable here.

This adds the first chunk of formats that hit the
assert.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 8185a02316cfb7dc3d64b8772af82ad2bb49754e)
src/mesa/main/formats.c
src/mesa/main/formats.csv
src/mesa/main/formats.h
src/mesa/main/glformats.c
src/mesa/swrast/s_texfetch.c