Prevents calling NULL pointer with softpipe in certain cases.
Trivial.
}
+static void
+fetch_emit_bind_parameters(struct draw_pt_middle_end *middle)
+{
+ /* No-op? */
+}
+
+
static void fetch_emit_run( struct draw_pt_middle_end *middle,
const unsigned *fetch_elts,
unsigned fetch_count,
}
fetch_emit->base.prepare = fetch_emit_prepare;
+ fetch_emit->base.bind_parameters = fetch_emit_bind_parameters;
fetch_emit->base.run = fetch_emit_run;
fetch_emit->base.run_linear = fetch_emit_run_linear;
fetch_emit->base.run_linear_elts = fetch_emit_run_linear_elts;
}
+static void
+fse_bind_parameters(struct draw_pt_middle_end *middle)
+{
+ /* No-op? */
+}
+
static void
fse_run_linear(struct draw_pt_middle_end *middle,
return NULL;
fse->base.prepare = fse_prepare;
+ fse->base.bind_parameters = fse_bind_parameters;
fse->base.run = fse_run;
fse->base.run_linear = fse_run_linear;
fse->base.run_linear_elts = fse_run_linear_elts;