Searched refs:samplers_used (Results 1 – 4 of 4) sorted by relevance
110 GLbitfield samplers_used = prog->SamplersUsed; in update_textures() local116 if (samplers_used == 0x0 && old_max == 0) in update_textures()122 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) { in update_textures()125 if (samplers_used & 1) { in update_textures()138 else if (samplers_used == 0 && unit >= old_max) { in update_textures()
252 GLbitfield samplers_used = prog->SamplersUsed; in update_shader_samplers() local259 if (*num_samplers == 0 && samplers_used == 0x0) in update_shader_samplers()265 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) { in update_shader_samplers()268 if (samplers_used & 1) { in update_shader_samplers()275 else if (samplers_used != 0 || unit < old_max) { in update_shader_samplers()
977 unsigned samplers_used = stfp->Base.SamplersUsed; in st_create_fp_variant() local980 variant->drawpix_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()982 samplers_used |= (1 << variant->drawpix_sampler); in st_create_fp_variant()986 variant->pixelmap_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()1091 unsigned samplers_used = stfp->Base.SamplersUsed | in st_create_fp_variant() local1094 variant->pixelmap_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()
419 uint32_t samplers_used; member4357 STATIC_ASSERT(sizeof(samplers_used) * 8 >= PIPE_MAX_SAMPLERS); in glsl_to_tgsi_visitor()4370 samplers_used = 0; in glsl_to_tgsi_visitor()4407 v->samplers_used = 0; in count_resources()4415 v->samplers_used |= 1u << idx; in count_resources()4450 prog->SamplersUsed = v->samplers_used; in count_resources()6347 if (program->samplers_used & (1u << i)) { in st_translate_program()