Mesa (master): Revert "r300g: remove L8_UNORM from colorbuffer formats"
Corbin Simpson
csimpson at kemper.freedesktop.org
Fri Feb 19 11:13:20 UTC 2010
Module: Mesa
Branch: master
Commit: 71214c640c8b20020ead13897c76b9b6773126ba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71214c640c8b20020ead13897c76b9b6773126ba
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Fri Feb 19 03:12:14 2010 -0800
Revert "r300g: remove L8_UNORM from colorbuffer formats"
This reverts commit fc427d23439a2702068209957f08990ea29fe21b.
At least xorg uses this, and just because something is not used in
OpenGL is *never* a valid reason to remove functionality from Gallium.
If something lacks a test, go add a test, don't remove features.
---
src/gallium/drivers/r300/r300_screen.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 036736c..5fa1ea0 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -230,6 +230,7 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
/* Supported formats. */
/* Colorbuffer */
case PIPE_FORMAT_A8_UNORM:
+ case PIPE_FORMAT_L8_UNORM:
case PIPE_FORMAT_R5G6B5_UNORM:
case PIPE_FORMAT_A1R5G5B5_UNORM:
case PIPE_FORMAT_A4R4G4B4_UNORM:
More information about the mesa-commit
mailing list