projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5876a4c
)
draw: Add A8R8G8B8 to draw_print_arrays
48/6948/1
author
Richard Sandiford
<r.sandiford@uk.ibm.com>
Thu, 25 Apr 2013 20:50:07 +0000
(16:50 -0400)
committer
Adam Jackson
<ajax@redhat.com>
Mon, 10 Jun 2013 20:28:31 +0000
(16:28 -0400)
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Richard Sandiford <r.sandiford@uk.ibm.com>
src/gallium/auxiliary/draw/draw_pt.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt.c
b/src/gallium/auxiliary/draw/draw_pt.c
index
131bd13
..
720d7b1
100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt.c
+++ b/
src/gallium/auxiliary/draw/draw_pt.c
@@
-326,6
+326,13
@@
draw_print_arrays(struct draw_context *draw, uint prim, int start, uint count)
(void *) u);
}
break;
+ case PIPE_FORMAT_A8R8G8B8_UNORM:
+ {
+ ubyte *u = (ubyte *) ptr;
+ debug_printf("ARGB %d %d %d %d @ %p\n", u[0], u[1], u[2], u[3],
+ (void *) u);
+ }
+ break;
default:
debug_printf("other format %s (fix me)\n",
util_format_name(draw->pt.vertex_element[j].src_format));