[Mesa-dev] [PATCH] mesa: mark GL_SR8_EXT non-renderable on GLES
Marek Olšák
maraeo at gmail.com
Fri Nov 9 21:48:23 UTC 2018
From: Marek Olšák <marek.olsak at amd.com>
Fixes: dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.sr8_ext
---
src/mesa/main/fbobject.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index c3dded6b928..68e0daf3423 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -743,20 +743,21 @@ is_format_color_renderable(const struct gl_context *ctx, mesa_format format,
case GL_RGB32UI:
case GL_RGB16F:
case GL_RGB16I:
case GL_RGB16UI:
case GL_RGB8_SNORM:
case GL_RGB8I:
case GL_RGB8UI:
case GL_SRGB8:
case GL_RGB10:
case GL_RGB9_E5:
+ case GL_SR8_EXT:
return GL_FALSE;
default:
break;
}
if (internalFormat != GL_RGB10_A2 &&
(format == MESA_FORMAT_B10G10R10A2_UNORM ||
format == MESA_FORMAT_B10G10R10X2_UNORM ||
format == MESA_FORMAT_R10G10B10A2_UNORM ||
format == MESA_FORMAT_R10G10B10X2_UNORM)) {
--
2.17.1
More information about the mesa-dev
mailing list