tgsi_scan_shader(templ->tokens, &vs->base.info);
vs->base.draw = draw;
- vs->base.create_varient = draw_vs_varient_aos_sse;
-// vs->base.create_varient = draw_vs_varient_generic;
+ if (1)
+ vs->base.create_varient = draw_vs_varient_aos_sse;
+ else
+ vs->base.create_varient = draw_vs_varient_generic;
vs->base.prepare = vs_sse_prepare;
vs->base.run_linear = vs_sse_run_linear;
vs->base.delete = vs_sse_delete;
void *output_buffer)
{
struct draw_vs_varient_generic *vsvg = (struct draw_vs_varient_generic *)varient;
+
+ if (0) debug_printf("%s %d \n", __FUNCTION__, count);
/* Want to do this in small batches for cache locality?
*/
{
struct draw_vs_varient_generic *vsvg = (struct draw_vs_varient_generic *)varient;
- //debug_printf("%s %d %d\n", __FUNCTION__, start, count);
+ if (0) debug_printf("%s %d %d\n", __FUNCTION__, start, count);
vsvg->fetch->run( vsvg->fetch,
vsvg->base.run_linear = vsvg_run_linear;
vsvg->base.destroy = vsvg_destroy;
+ vsvg->draw = vs->draw;
/* Build free-standing fetch and emit functions: