Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c217 GLbitfield samplers_used; in update_shader_samplers() local
220 samplers_used = prog->SamplersUsed; in update_shader_samplers()
222 if (*num_samplers == 0 && samplers_used == 0x0) in update_shader_samplers()
228 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) { in update_shader_samplers()
231 if (samplers_used & 1) { in update_shader_samplers()
240 else if (samplers_used != 0 || unit < old_max) { in update_shader_samplers()
Dst_atom_texture.c267 GLbitfield samplers_used = prog->SamplersUsed; in update_textures() local
270 if (samplers_used == 0x0 && old_max == 0) in update_textures()
276 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) { in update_textures()
279 if (samplers_used & 1) { in update_textures()
289 else if (samplers_used == 0 && unit >= old_max) { in update_textures()
Dst_glsl_to_tgsi.cpp304 int samplers_used; member in glsl_to_tgsi_visitor
2861 samplers_used = 0; in glsl_to_tgsi_visitor()
2891 v->samplers_used = 0; in count_resources()
2897 v->samplers_used |= 1 << inst->sampler; in count_resources()
2905 prog->SamplersUsed = v->samplers_used; in count_resources()
3699 v->samplers_used = prog->SamplersUsed = original->samplers_used; in get_pixel_transfer_visitor()
3718 v->samplers_used |= (1 << 0); in get_pixel_transfer_visitor()
3763 v->samplers_used |= (1 << 1); in get_pixel_transfer_visitor()
3830 v->samplers_used = prog->SamplersUsed = original->samplers_used; in get_bitmap_visitor()
3846 v->samplers_used |= (1 << samplerIndex); in get_bitmap_visitor()
[all …]