mesa: Generate invalid operation in glGenerateMipMap for integer textures
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 2 Nov 2012 17:47:33 +0000 (10:47 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Sun, 20 Jan 2013 14:08:27 +0000 (15:08 +0100)
commitcb3bcb73e5646d25e9a313b478671c71a3440bf7
tree7f896acf46070dc44d2c3631c6e5382fee0df83a
parent7e80685340dad7c76f72285c2f6c8268c413fbde
mesa: Generate invalid operation in glGenerateMipMap for integer textures

Khronos has reached a conclusion and disallowed following texture formats in
glGenerateMipMap():
 (a) ASTC textures
 (b) integer internal formats (e.g., RGBA8UI, RG16I)
 (c) textures with stencil formats (e.g., STENCIL_INDEX8)
 (d) textures with packed depth/stencil formats (e.g, DEPTH24_STENCIL8)

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471

Note: This is a candidate for stable branches.
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c0a78d7d7b51e125d143e693fdfc78b90f2d68cf)
src/mesa/main/fbobject.c