/**
- * Info related to samplers and sampler views.
- * We have one of these for fragment samplers and another for vertex samplers.
+ * Per-shader sampler information.
*/
struct sampler_info
{
}
-/**************** fragment/vertex sampler view state *************************/
enum pipe_error
cso_single_sampler(struct cso_context *ctx, unsigned shader_stage,
}
+/**
+ * Send staged sampler state to the driver.
+ */
void
cso_single_sampler_done(struct cso_context *ctx, unsigned shader_stage)
{
unsigned i;
enum pipe_error temp, error = PIPE_OK;
- /* TODO: fastpath
- */
-
for (i = 0; i < nr; i++) {
temp = cso_single_sampler(ctx, shader_stage, i, templates[i]);
if (temp != PIPE_OK)