summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate/translate_generic.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-19 18:26:39 +0100
committerKeith Whitwell <[email protected]>2008-04-19 18:27:30 +0100
commitb1158a5e0031aa33a71baa7bc14ca2c0fe0dabc4 (patch)
tree61c8698ebd310808ec6cc686293956021690ee22 /src/gallium/auxiliary/translate/translate_generic.c
parentaf523a5bd7828fd554669cf83f18992af967a075 (diff)
translate: don't crash on failure to create sse version
Diffstat (limited to 'src/gallium/auxiliary/translate/translate_generic.c')
-rw-r--r--src/gallium/auxiliary/translate/translate_generic.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate_generic.c b/src/gallium/auxiliary/translate/translate_generic.c
index e7fb1dcb2d5..9de007c767e 100644
--- a/src/gallium/auxiliary/translate/translate_generic.c
+++ b/src/gallium/auxiliary/translate/translate_generic.c
@@ -567,8 +567,14 @@ static void generic_run_elts( struct translate *translate,
tg->attrib[attr].output_offset);
tg->attrib[attr].fetch( src, data );
+
+ debug_printf("vert %d/%d attr %d: %f %f %f %f\n",
+ i, elt, attr, data[0], data[1], data[2], data[3]);
+
+
tg->attrib[attr].emit( data, dst );
}
+ debug_printf("\n");
vert += tg->translate.key.output_stride;
}
@@ -602,8 +608,13 @@ static void generic_run( struct translate *translate,
tg->attrib[attr].output_offset);
tg->attrib[attr].fetch( src, data );
+
+ debug_printf("vert %d attr %d: %f %f %f %f\n",
+ i, attr, data[0], data[1], data[2], data[3]);
+
tg->attrib[attr].emit( data, dst );
}
+ debug_printf("\n");
vert += tg->translate.key.output_stride;
}