This fixes an AA line crash/regression.
The aaline stage needs to find a free/unused sampler to do its thing.
st->state.num_samplers = su + 1;
/* XXX more sampler state here */
st->state.num_samplers = su + 1;
/* XXX more sampler state here */
- cso_single_sampler(st->cso_context, su, sampler);
+ cso_single_sampler(st->cso_context, su, sampler);
+ }
+ else {
+ cso_single_sampler(st->cso_context, su, NULL);
+ }
}
cso_single_sampler_done(st->cso_context);
}
cso_single_sampler_done(st->cso_context);