Searched refs:samplers_used (Results 1 – 7 of 7) sorted by relevance
265 GLbitfield samplers_used = prog->SamplersUsed; in update_shader_samplers() local272 if (samplers_used == 0x0) { in update_shader_samplers()281 num_samplers = util_last_bit(samplers_used); in update_shader_samplers()284 for (unit = 0; samplers_used; unit++, samplers_used >>= 1) { in update_shader_samplers()291 if (samplers_used & 1 && in update_shader_samplers()
107 GLbitfield samplers_used = prog->SamplersUsed; in update_textures() local113 if (samplers_used == 0x0 && old_max == 0) in update_textures()122 for (unit = 0; samplers_used || unit < old_max; in update_textures()123 unit++, samplers_used >>= 1, texel_fetch_samplers >>= 1) { in update_textures()126 if (samplers_used & 1) { in update_textures()
1287 unsigned samplers_used = stfp->Base.SamplersUsed; in st_create_fp_variant() local1290 variant->drawpix_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()1292 samplers_used |= (1 << variant->drawpix_sampler); in st_create_fp_variant()1296 variant->pixelmap_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()1436 unsigned samplers_used = stfp->Base.SamplersUsed | in st_create_fp_variant() local1439 variant->pixelmap_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()
231 uint32_t samplers_used; member4727 STATIC_ASSERT(sizeof(samplers_used) * 8 >= PIPE_MAX_SAMPLERS); in glsl_to_tgsi_visitor()4742 samplers_used = 0; in glsl_to_tgsi_visitor()4790 v->samplers_used = 0; in count_resources()4798 v->samplers_used |= 1u << idx; in count_resources()4831 prog->SamplersUsed = v->samplers_used; in count_resources()6924 if (program->samplers_used & (1u << i)) { in st_translate_program()
48 unsigned samplers_used : PIPE_MAX_SAMPLERS; member532 assert(!(ctx->samplers_used & (1 << index))); in emit_sampler()536 ctx->samplers_used |= 1 << index; in emit_sampler()552 assert(!(ctx->samplers_used & (1 << index))); in emit_sampler()556 ctx->samplers_used |= 1 << index; in emit_sampler()1948 assert(ctx->samplers_used & (1u << tex->texture_index)); in emit_tex()
153 uint32_t samplers_used; member1155 ctx->samplers_used |= (1 << decl->Range.Last); in iter_declaration()4777 nsamp = util_last_bit(ctx->samplers_used); in emit_ios()4780 if ((ctx->samplers_used & (1 << i)) == 0) in emit_ios()5005 sinfo->samplers_used_mask = ctx.samplers_used; in vrend_convert_shader()
821 - nir/samplers: don't zero samplers_used/txf.