summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_curbe.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-19 19:05:19 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-19 19:05:19 +0000
commitd24a9b26fc44b586a19d46e731e61a5d133868d9 (patch)
treec701cc824adb9c4ad6aa14a7fcbdefd0f150b8e3 /src/mesa/pipe/i965simple/brw_curbe.c
parent5ff69cfd68970ef67ecf3fc10f9abd31356e793f (diff)
965: dump curbe contents to stderr
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_curbe.c')
-rw-r--r--src/mesa/pipe/i965simple/brw_curbe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/i965simple/brw_curbe.c b/src/mesa/pipe/i965simple/brw_curbe.c
index 1bdd870bd6..411263f565 100644
--- a/src/mesa/pipe/i965simple/brw_curbe.c
+++ b/src/mesa/pipe/i965simple/brw_curbe.c
@@ -254,12 +254,13 @@ static void upload_constant_buffer(struct brw_context *brw)
/* map the vertex constant buffer and copy to curbe: */
ws->buffer_map(ws, cbuffer->buffer, 0);
ws->buffer_get_subdata(ws, cbuffer->buffer,
- 0, cbuffer->size,
+ 0,
+ cbuffer->size,
&buf[offset]);
ws->buffer_unmap(ws, cbuffer->buffer);
}
- if (0) {
+ if (1) {
for (i = 0; i < sz*16; i+=4)
_mesa_printf("curbe %d.%d: %f %f %f %f\n", i/8, i&4,
buf[i+0], buf[i+1], buf[i+2], buf[i+3]);