Home
last modified time | relevance | path

Searched refs:sampler_unit (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c134 unsigned sampler_unit, in draw_llvm_sampler_member() argument
144 debug_assert(sampler_unit < PIPE_MAX_SAMPLERS); in draw_llvm_sampler_member()
151 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in draw_llvm_sampler_member()
162 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in draw_llvm_sampler_member()
205 unsigned sampler_unit) \ in DRAW_LLVM_TEXTURE_MEMBER()
208 sampler_unit, _index, #_name, _emit_load ); \ in DRAW_LLVM_TEXTURE_MEMBER()
Ddraw_pipe_pstipple.c67 uint sampler_unit; member
137 &pstip->fs->sampler_unit, in generate_pstip_fs()
143 assert(pstip->fs->sampler_unit < PIPE_MAX_SAMPLERS); in generate_pstip_fs()
202 num_samplers = MAX2(pstip->num_samplers, pstip->fs->sampler_unit + 1); in pstip_first_tri()
206 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso; in pstip_first_tri()
207 pipe_sampler_view_reference(&pstip->state.sampler_views[pstip->fs->sampler_unit], in pstip_first_tri()
Ddraw_pipe_aaline.c78 uint sampler_unit; member
360 aaline->fs->sampler_unit = transform.freeSampler; in generate_aaline_fs()
675 num_samplers = MAX2(aaline->num_samplers, aaline->fs->sampler_unit + 1); in aaline_first_line()
678 aaline->state.sampler[aaline->fs->sampler_unit] = aaline->sampler_cso; in aaline_first_line()
679 pipe_sampler_view_reference(&aaline->state.sampler_views[aaline->fs->sampler_unit], in aaline_first_line()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c172 unsigned sampler_unit, in LP_LLVM_TEXTURE_MEMBER()
182 assert(sampler_unit < PIPE_MAX_SAMPLERS); in LP_LLVM_TEXTURE_MEMBER()
189 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in LP_LLVM_TEXTURE_MEMBER()
200 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in LP_LLVM_TEXTURE_MEMBER()
211 unsigned sampler_unit) \
214 sampler_unit, _index, #_name, _emit_load ); \
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp200 unsigned sampler_unit, in SWR_TEXTURE_MEMBER()
210 assert(sampler_unit < PIPE_MAX_SAMPLERS); in SWR_TEXTURE_MEMBER()
231 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in SWR_TEXTURE_MEMBER()
242 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in SWR_TEXTURE_MEMBER()
253 unsigned sampler_unit) \
258 sampler_unit, \
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h264 unsigned sampler_unit);
271 unsigned sampler_unit);
278 unsigned sampler_unit);
285 unsigned sampler_unit);
Dlp_bld_tgsi_info.c160 tex_info->sampler_unit = inst->Src[3].Register.Index; in analyse_tex()
168 tex_info->sampler_unit = inst->Src[1].Register.Index; in analyse_tex()
244 tex_info->sampler_unit = inst->Src[2].Register.Index; in analyse_sample()
246 if (tex_info->texture_unit != tex_info->sampler_unit) { in analyse_sample()
487 tex_info->sampler_unit, in dump_info()
Dlp_bld_sample_aos.h45 unsigned sampler_unit,
Dlp_bld_sample.c699 unsigned sampler_unit, in lp_build_lod_selector() argument
747 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
837 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
851 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
859 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
Dlp_bld_tgsi.h114 unsigned sampler_unit:8; /* Sampler unit */ member
Dlp_bld_sample_soa.c2201 unsigned sampler_unit) in lp_build_clamp_border_color() argument
2207 bld->context_ptr, sampler_unit); in lp_build_clamp_border_color()
2425 unsigned sampler_unit, in lp_build_sample_general() argument
2455 lp_build_clamp_border_color(bld, sampler_unit); in lp_build_sample_general()
2465 lp_build_name(texels[chan], "sampler%u_texel_%c_var", sampler_unit, "xyzw"[chan]); in lp_build_sample_general()
2569 lp_build_name(colors_out[chan], "sampler%u_texel_%c", sampler_unit, "xyzw"[chan]); in lp_build_sample_general()
Dlp_bld_tgsi_soa.c2238 unsigned texture_unit, sampler_unit; in emit_sample() local
2265 sampler_unit = inst->Src[2].Register.Index; in emit_sample()
2385 params.sampler_index = sampler_unit; in emit_sample()
Dlp_bld_sample_aos.c1598 unsigned sampler_unit, in lp_build_sample_aos() argument
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c2354 uint resource_unit, sampler_unit; in exec_lodq() local
2365 sampler_unit = fetch_sampler_unit(mach, inst, 2); in exec_lodq()
2368 sampler_unit = resource_unit; in exec_lodq()
2379 mach->Sampler->query_lod(mach->Sampler, resource_unit, sampler_unit, in exec_lodq()
2657 const uint sampler_unit = inst->Src[2].Register.Index; in exec_sample() local
2696 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2702 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2715 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2721 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2735 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4985 const unsigned sampler_unit = inst->Src[2].Register.Index; in emit_sample() local
4990 begin_tex_swizzle(emit, sampler_unit, inst, FALSE, &swz_info); in emit_sample()
5007 emit_sampler_register(emit, sampler_unit); in emit_sample()