mesa: Mark R*32F formats as filterable when an extension is present.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Jul 2016 18:50:44 +0000 (11:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Jul 2016 08:26:23 +0000 (01:26 -0700)
commitb3c5df3ca4ca69006114565bf5d6d01c7b8b2934
treeb89a6cdfd5f4e808accb572af4d9d95a9a521178
parentb7be23b6e16c31293010dd926db82720a4954cf5
mesa: Mark R*32F formats as filterable when an extension is present.

GL_OES_texture_float_linear marks R32F, RG32F, RGB32F, and RGBA32F
as texture filterable.

Fixes glGenerateMipmap GL errors when visiting a WebGL demo in Chromium:
http://www.iamnop.com/particles

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/genmipmap.c
src/mesa/main/glformats.c
src/mesa/main/glformats.h