OSDN Git Service

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)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 5 Nov 2012 18:17:48 +0000 (10:17 -0800)
commitc0a78d7d7b51e125d143e693fdfc78b90f2d68cf
tree7015e67526629705ee7300189c8ed4b85d4af868
parent3700bd115841958cc9c211475d3069298e4ff266
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>
src/mesa/main/fbobject.c