Home | History | Annotate | Download | only in softpipe

Lines Matching refs:samplers

70  * Bind a range [start, start+num-1] of samplers for a shader stage.
77 void **samplers)
83 assert(start + num <= Elements(softpipe->samplers[shader]));
87 !memcmp(softpipe->samplers[shader] + start, samplers,
94 /* set the new samplers */
96 softpipe->samplers[shader][start + i] = samplers[i];
99 /* find highest non-null samplers[] entry */
102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL)
110 softpipe->samplers[shader],
121 unsigned num, void **samplers)
123 softpipe_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, samplers);
130 void **samplers)
132 softpipe_bind_sampler_states(pipe, PIPE_SHADER_VERTEX, 0, num, samplers);
139 void **samplers)
141 softpipe_bind_sampler_states(pipe, PIPE_SHADER_GEOMETRY, 0, num, samplers);
256 * somewhere outside the sampler variant, we could re-use samplers for
316 if (softpipe->samplers[shader][i]) {
319 sp_sampler(softpipe->samplers[shader][i]),
334 /* It's a bit hard to build these samplers ahead of time -- don't
335 * really know which samplers are going to be used for vertex and