diff options
author | Richard Sandiford <[email protected]> | 2013-04-25 16:50:07 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2013-06-10 16:28:31 -0400 |
commit | 1ff10f92e77625bd17f5825b8f5aee4d355587fc (patch) | |
tree | 2276a3262681980e02528321afcfca408f54f236 | |
parent | 5876a4c71d382070541b11f3771d9af7b50c5d4f (diff) |
draw: Add A8R8G8B8 to draw_print_arrays
Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Richard Sandiford <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index 131bd132c4f..720d7b1648b 100644 --- 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)); |