Home
last modified time | relevance | path

Searched refs:SamplersUsed (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c196 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; in gen7_upload_samplers() local
198 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()
Dbrw_wm_sampler_state.c342 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; in brw_upload_samplers() local
347 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()
Dbrw_shader.cpp202 prog->SamplersUsed = shader->base.active_samplers; in brw_link_shader()
Dbrw_wm_surface_state.c1309 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()
Dbrw_vs.c252 if (c.vp->program.Base.SamplersUsed) in do_vs_prog()
Dbrw_wm.c444 if (!(prog->SamplersUsed & (1 << s))) in brw_populate_sampler_prog_key_data()
/external/mesa3d/src/mesa/program/
Dprogram.c509 clone->SamplersUsed = prog->SamplersUsed; in _mesa_clone_program()
831 newProg->SamplersUsed = progA->SamplersUsed | progB->SamplersUsed; in _mesa_combine_programs()
Darbprogparse.c116 program->Base.SamplersUsed |= (1 << i); in _mesa_parse_arb_fragment_program()
Dprog_print.c1019 prog->SamplersUsed, binary(prog->SamplersUsed)); in _mesa_fprint_program_parameters()
Dir_to_mesa.cpp2912 prog->SamplersUsed = shader->active_samplers; in get_mesa_program()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c267 GLbitfield samplers_used = prog->SamplersUsed; in update_textures()
400 if (fprog->Base.SamplersUsed & (1 << su)) { in finalize_textures()
Dst_atom_pixeltransfer.c172 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()
Dst_atom_sampler.c220 samplers_used = prog->SamplersUsed; in update_shader_samplers()
Dst_cb_bitmap.c167 p->SamplersUsed = (1 << samplerIndex); in make_bitmap_fragment_program()
228 sampler = find_free_bit(fpIn->Base.SamplersUsed); in st_make_bitmap_fragment_program()
Dst_glsl_to_tgsi.cpp2905 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()
Dst_cb_drawpixels.c278 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()
Dst_mesa_to_tgsi.c1235 if (program->SamplersUsed & (1 << i)) { in st_translate_mesa_program()
/external/mesa3d/src/mesa/main/
Duniforms.c73 if (prog->SamplersUsed & (1 << s)) { in _mesa_update_shader_textures_used()
Dmtypes.h1944 GLbitfield SamplersUsed; /**< Bitfield of which samplers are used */ member