diff options
author | Zack Rusin <[email protected]> | 2007-10-22 08:46:28 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-10-24 11:21:04 -0400 |
commit | ba887517160ab2b5a70e01723ee649db1554775b (patch) | |
tree | 4ef313fbd3696edde93e4723de23793fc18e18c8 /src/mesa/pipe/draw | |
parent | 6815a9af6c98934e3537507ccbf077d69a5d5320 (diff) |
Align the load/stores. Reduce the amount of debugging output.
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex_shader_llvm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c index 05c3fe511bf..bcc44f79802 100644 --- a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c +++ b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c @@ -38,6 +38,8 @@ #include "pipe/llvm/llvmtgsi.h" #include "pipe/tgsi/exec/tgsi_core.h" +#define DBG 0 + static INLINE void fetch_attrib4(const void *ptr, unsigned format, float attrib[4]) { @@ -155,7 +157,9 @@ void draw_vertex_shader_queue_flush_llvm(struct draw_context *draw) y = vOut->clip[1] = dests[0][1]; z = vOut->clip[2] = dests[0][2]; w = vOut->clip[3] = dests[0][3]; +#if DBG printf("output %d: %f %f %f %f\n", 0, x, y, z, w); +#endif vOut->clipmask = compute_clipmask(vOut->clip, draw->plane, draw->nr_planes); vOut->edgeflag = 1; @@ -183,11 +187,13 @@ void draw_vertex_shader_queue_flush_llvm(struct draw_context *draw) vOut->data[slot][2] = dests[slot][2]; vOut->data[slot][3] = dests[slot][3]; +#if DBG printf("output %d: %f %f %f %f\n", slot, vOut->data[slot][0], vOut->data[slot][1], vOut->data[slot][2], vOut->data[slot][3]); +#endif } } /* loop over vertices */ |