Mesa (master): AL1616: Enable MESA_FORMAT_AL1616 for software paths
Ian Romanick
idr at kemper.freedesktop.org
Mon Nov 16 15:27:52 PST 2009
Module: Mesa
Branch: master
Commit: 12982e381d3474c5c00f89cc442d442df097339b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12982e381d3474c5c00f89cc442d442df097339b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Nov 16 14:53:36 2009 -0800
AL1616: Enable MESA_FORMAT_AL1616 for software paths
---
src/mesa/main/texformat.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index 39c561e..1a374e7 100644
--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -115,11 +115,13 @@ _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat,
case GL_LUMINANCE_ALPHA:
case GL_LUMINANCE4_ALPHA4:
case GL_LUMINANCE6_ALPHA2:
+ case GL_LUMINANCE8_ALPHA8:
+ return MESA_FORMAT_AL88;
+
case GL_LUMINANCE12_ALPHA4:
case GL_LUMINANCE12_ALPHA12:
case GL_LUMINANCE16_ALPHA16:
- case GL_LUMINANCE8_ALPHA8:
- return MESA_FORMAT_AL88;
+ return MESA_FORMAT_AL1616;
case GL_INTENSITY:
case GL_INTENSITY4:
More information about the mesa-commit
mailing list