And fix the emit_rss() function's return type.
offset += key->num_unnormalized_coords;
}
- return 0;
+ return PIPE_OK;
}
svga->rebind.rendertargets = FALSE;
- return 0;
+ return PIPE_OK;
}
svga->state.hw_clear.prescale = prescale;
}
- return 0;
+ return PIPE_OK;
}
return ret;
}
- return 0;
+ return PIPE_OK;
}
svga->dirty |= SVGA_NEW_NEED_SWVFETCH;
}
- return 0;
+ return PIPE_OK;
}
struct svga_tracked_state svga_update_need_swvfetch =
if (0 && svga->state.sw.need_pipeline)
debug_printf("sw.need_pipeline = %d\n", svga->state.sw.need_pipeline);
- return 0;
+ return PIPE_OK;
}
svga->swtnl.new_vdecl = TRUE;
}
- return 0;
+ return PIPE_OK;
}
* to hardware. Simplest implementation would be to emit the whole of
* the "to" state.
*/
-static int emit_rss( struct svga_context *svga,
- unsigned dirty )
+static enum pipe_error
+emit_rss(struct svga_context *svga, unsigned dirty)
{
struct svga_screen *screen = svga_screen(svga->pipe.screen);
struct rs_queue queue;
SVGA_FIFOCommitAll( svga->swc );
}
- return 0;
+ return PIPE_OK;
fail:
/* XXX: need to poison cached hardware state on failure to ensure
if (svga->curr.num_zero_stride_vertex_elements)
svga->dirty |= SVGA_NEW_ZERO_STRIDE;
- return 0;
+ return PIPE_OK;
}
struct svga_tracked_state svga_hw_update_zero_stride =