Home
last modified time | relevance | path

Searched refs:samplers_used (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c265 GLbitfield samplers_used = prog->SamplersUsed; in update_shader_samplers() local
272 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()
Dst_atom_texture.c107 GLbitfield samplers_used = prog->SamplersUsed; in update_textures() local
113 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()
Dst_program.c1287 unsigned samplers_used = stfp->Base.SamplersUsed; in st_create_fp_variant() local
1290 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() local
1439 variant->pixelmap_sampler = ffs(~samplers_used) - 1; in st_create_fp_variant()
Dst_glsl_to_tgsi.cpp231 uint32_t samplers_used; member
4727 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()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c48 unsigned samplers_used : PIPE_MAX_SAMPLERS; member
532 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()
/external/virglrenderer/src/
Dvrend_shader.c153 uint32_t samplers_used; member
1155 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()
/external/mesa3d/docs/relnotes/
D20.0.0.rst821 - nir/samplers: don't zero samplers_used/txf.