Mesa (master): intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
Eric Anholt
anholt at kemper.freedesktop.org
Mon Apr 18 18:21:17 UTC 2011
Module: Mesa
Branch: master
Commit: dad95c112f09b9978d71ababe80c4e34121d49f0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dad95c112f09b9978d71ababe80c4e34121d49f0
Author: Eric Anholt <eric at anholt.net>
Date: Sun Apr 17 10:44:46 2011 -0700
intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
Fixes warnings in fbo-storage-formats.
Reviewed-by: Brian Paul <brianp at vmware.com>
---
src/mesa/drivers/dri/intel/intel_tex_format.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_tex_format.c b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 87745bc..9a6c24b 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_format.c
@@ -16,6 +16,8 @@ intel_mesa_format_to_rb_datatype(gl_format format)
case MESA_FORMAT_R8:
case MESA_FORMAT_RG88:
case MESA_FORMAT_A8:
+ case MESA_FORMAT_I8:
+ case MESA_FORMAT_L8:
case MESA_FORMAT_AL88:
case MESA_FORMAT_RGB565:
case MESA_FORMAT_ARGB1555:
More information about the mesa-commit
mailing list