Lines Matching defs:sh
92 uint i, sh;
125 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) {
127 sp_destroy_tex_tile_cache(softpipe->tex_cache[sh][i]);
128 pipe_sampler_view_reference(&softpipe->sampler_views[sh][i], NULL);
132 for (sh = 0; sh < Elements(softpipe->constants); sh++) {
134 if (softpipe->constants[sh][i]) {
135 pipe_resource_reference(&softpipe->constants[sh][i], NULL);
164 unsigned i, sh;
184 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) {
186 if (softpipe->tex_cache[sh][i] &&
187 softpipe->tex_cache[sh][i]->texture == texture)
217 uint i, sh;
260 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) {
262 softpipe->tex_cache[sh][i] = sp_create_tex_tile_cache(&softpipe->pipe);
263 if (!softpipe->tex_cache[sh][i])