search for: nv04_surface_format

Displaying 1 result from an estimated 1 matches for "nv04_surface_format".

2009 Dec 30
0
[PATCH] Fix surface_fill alpha
...ys 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 NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A8R8G8B8; - case PIPE_FORMAT_R5G6B5_UNORM: - case PIPE_FORMAT_A8L8_UNORM: - case PIPE_FORMAT_Z16_UNORM: - re...