Displaying 1 result from an estimated 1 matches for "dfe30c0".
Did you mean:
7dfe3000
2009 Dec 30
0
[PATCH] Fix surface_fill alpha
...ced to 0xFF for some reason. We're using
* SURFACE_FORMAT_Y32 as a workaround
*/
This patch fixes it by always using SURFACE_FORMAT_Y formats in surface_fill.
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c
b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 3193086..dfe30c0 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -34,26 +34,6 @@ nv04_surface_format(enum pipe_format format)
}
static INLINE int
-nv04_rect_format(enum pipe_format format)
-{
- switch (format) {
- case PIPE_FORMAT_A8_UNORM:
- return NV...