Lines Matching refs:num
70 * Bind a range [start, start+num-1] of samplers for a shader stage.
76 unsigned num,
83 assert(start + num <= Elements(softpipe->samplers[shader]));
86 if (start + num <= softpipe->num_samplers[shader] &&
88 num * sizeof(void *))) {
95 for (i = 0; i < num; i++) {
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num);
121 unsigned num, void **samplers)
123 softpipe_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, samplers);
129 unsigned num,
132 softpipe_bind_sampler_states(pipe, PIPE_SHADER_VERTEX, 0, num, samplers);
138 unsigned num,
141 softpipe_bind_sampler_states(pipe, PIPE_SHADER_GEOMETRY, 0, num, samplers);
177 unsigned num,
184 assert(start + num <= Elements(softpipe->sampler_views[shader]));
187 if (start + num <= softpipe->num_sampler_views[shader] &&
189 num * sizeof(struct pipe_sampler_view *))) {
196 for (i = 0; i < num; i++) {
205 unsigned j = MAX2(softpipe->num_sampler_views[shader], start + num);
224 unsigned num,
227 softpipe_set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, num, views);
233 unsigned num,
236 softpipe_set_sampler_views(pipe, PIPE_SHADER_VERTEX, 0, num, views);
242 unsigned num,
245 softpipe_set_sampler_views(pipe, PIPE_SHADER_GEOMETRY, 0, num, views);