Searched refs:SamplersUsed (Results 1 – 19 of 19) sorted by relevance
196 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; in gen7_upload_samplers() local198 brw->sampler.count = _mesa_fls(SamplersUsed); in gen7_upload_samplers()209 if (SamplersUsed & (1 << s)) { in gen7_upload_samplers()210 const unsigned unit = (fs->SamplersUsed & (1 << s)) ? in gen7_upload_samplers()
342 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; in brw_upload_samplers() local347 brw->sampler.count = _mesa_fls(SamplersUsed); in brw_upload_samplers()358 if (SamplersUsed & (1 << s)) { in brw_upload_samplers()359 const unsigned unit = (fs->SamplersUsed & (1 << s)) ? in brw_upload_samplers()
202 prog->SamplersUsed = shader->base.active_samplers; in brw_link_shader()
1309 unsigned num_samplers = _mesa_fls(vs->SamplersUsed | fs->SamplersUsed); in brw_update_texture_surfaces()1315 if (vs->SamplersUsed & (1 << s)) { in brw_update_texture_surfaces()1326 if (fs->SamplersUsed & (1 << s)) { in brw_update_texture_surfaces()
252 if (c.vp->program.Base.SamplersUsed) in do_vs_prog()
444 if (!(prog->SamplersUsed & (1 << s))) in brw_populate_sampler_prog_key_data()
509 clone->SamplersUsed = prog->SamplersUsed; in _mesa_clone_program()831 newProg->SamplersUsed = progA->SamplersUsed | progB->SamplersUsed; in _mesa_combine_programs()
116 program->Base.SamplersUsed |= (1 << i); in _mesa_parse_arb_fragment_program()
1019 prog->SamplersUsed, binary(prog->SamplersUsed)); in _mesa_fprint_program_parameters()
2912 prog->SamplersUsed = shader->active_samplers; in get_mesa_program()
267 GLbitfield samplers_used = prog->SamplersUsed; in update_textures()400 if (fprog->Base.SamplersUsed & (1 << su)) { in finalize_textures()
172 fp->Base.SamplersUsed = 0x1; /* sampler 0 (bit 0) is used */ in get_pixel_transfer_program()248 fp->Base.SamplersUsed |= (1 << 1); /* sampler 1 is used */ in get_pixel_transfer_program()
220 samplers_used = prog->SamplersUsed; in update_shader_samplers()
167 p->SamplersUsed = (1 << samplerIndex); in make_bitmap_fragment_program()228 sampler = find_free_bit(fpIn->Base.SamplersUsed); in st_make_bitmap_fragment_program()
2905 prog->SamplersUsed = v->samplers_used; in count_resources()3699 v->samplers_used = prog->SamplersUsed = original->samplers_used; in get_pixel_transfer_visitor()3717 prog->SamplersUsed |= (1 << 0); /* mark sampler 0 as used */ in get_pixel_transfer_visitor()3762 prog->SamplersUsed |= (1 << 1); /* mark sampler 1 as used */ in get_pixel_transfer_visitor()3830 v->samplers_used = prog->SamplersUsed = original->samplers_used; in get_bitmap_visitor()3845 prog->SamplersUsed |= (1 << samplerIndex); /* mark sampler as used */ in get_bitmap_visitor()
278 p->SamplersUsed = 0x1; /* sampler 0 (bit 0) is used */ in st_make_drawpix_z_stencil_program()280 p->SamplersUsed |= 1 << 1; in st_make_drawpix_z_stencil_program()
1235 if (program->SamplersUsed & (1 << i)) { in st_translate_mesa_program()
73 if (prog->SamplersUsed & (1 << s)) { in _mesa_update_shader_textures_used()
1944 GLbitfield SamplersUsed; /**< Bitfield of which samplers are used */ member