Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp210 unsigned sampler_unit, in SWR_TEXTURE_MEMBER()
220 assert(sampler_unit < PIPE_MAX_SAMPLERS); in SWR_TEXTURE_MEMBER()
247 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in SWR_TEXTURE_MEMBER()
258 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in SWR_TEXTURE_MEMBER()
269 unsigned sampler_unit) \
274 sampler_unit, \
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c69 uint sampler_unit; member
140 &pstip->fs->sampler_unit, in generate_pstip_fs()
149 &pstip->fs->sampler_unit, 0, wincoord_file == TGSI_FILE_SYSTEM_VALUE); in generate_pstip_fs()
153 assert(pstip->fs->sampler_unit < PIPE_MAX_SAMPLERS); in generate_pstip_fs()
212 num_samplers = MAX2(pstip->num_samplers, pstip->fs->sampler_unit + 1); in pstip_first_tri()
216 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso; in pstip_first_tri()
217 pipe_sampler_view_reference(&pstip->state.sampler_views[pstip->fs->sampler_unit], in pstip_first_tri()
Ddraw_llvm_sample.c157 unsigned sampler_unit, in draw_llvm_sampler_member() argument
167 debug_assert(sampler_unit < PIPE_MAX_SAMPLERS); in draw_llvm_sampler_member()
174 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in draw_llvm_sampler_member()
185 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in draw_llvm_sampler_member()
281 unsigned sampler_unit) \ in DRAW_LLVM_TEXTURE_MEMBER()
284 sampler_unit, _index, #_name, _emit_load ); \ in DRAW_LLVM_TEXTURE_MEMBER()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c201 unsigned sampler_unit, in LP_LLVM_TEXTURE_MEMBER()
211 assert(sampler_unit < PIPE_MAX_SAMPLERS); in LP_LLVM_TEXTURE_MEMBER()
218 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in LP_LLVM_TEXTURE_MEMBER()
229 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in LP_LLVM_TEXTURE_MEMBER()
240 unsigned sampler_unit) \
243 sampler_unit, _index, #_name, _emit_load ); \
/external/mesa3d/src/gallium/auxiliary/gallivm/
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()
493 tex_info->sampler_unit, in dump_info()
Dlp_bld_sample.h309 unsigned sampler_unit);
316 unsigned sampler_unit);
323 unsigned sampler_unit);
330 unsigned sampler_unit);
Dlp_bld_sample_aos.h45 unsigned sampler_unit,
Dlp_bld_sample.c734 unsigned sampler_unit, in lp_build_lod_selector() argument
782 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
874 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
888 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
896 bld->context_ptr, sampler_unit); in lp_build_lod_selector()
Dlp_bld_tgsi.h115 unsigned sampler_unit:8; /* Sampler unit */ member
Dlp_bld_sample_soa.c2226 unsigned sampler_unit) in lp_build_clamp_border_color() argument
2232 bld->context_ptr, sampler_unit); in lp_build_clamp_border_color()
2459 unsigned sampler_unit, in lp_build_sample_general() argument
2489 lp_build_clamp_border_color(bld, sampler_unit); in lp_build_sample_general()
2499 lp_build_name(texels[chan], "sampler%u_texel_%c_var", sampler_unit, "xyzw"[chan]); in lp_build_sample_general()
2603 lp_build_name(colors_out[chan], "sampler%u_texel_%c", sampler_unit, "xyzw"[chan]); in lp_build_sample_general()
Dlp_bld_sample_aos.c1114 unsigned sampler_unit, in lp_build_sample_aos() argument
Dlp_bld_tgsi_soa.c2282 unsigned texture_unit, sampler_unit; in emit_sample() local
2309 sampler_unit = inst->Src[2].Register.Index; in emit_sample()
2429 params.sampler_index = sampler_unit; in emit_sample()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c2356 uint resource_unit, sampler_unit; in exec_lodq() local
2367 sampler_unit = fetch_sampler_unit(mach, inst, 2); in exec_lodq()
2370 sampler_unit = resource_unit; in exec_lodq()
2381 mach->Sampler->query_lod(mach->Sampler, resource_unit, sampler_unit, in exec_lodq()
2659 const uint sampler_unit = inst->Src[2].Register.Index; in exec_sample() local
2698 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2704 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2717 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2723 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
2737 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c7910 const unsigned sampler_unit = inst->Src[2].Register.Index; in emit_sample() local
7915 begin_tex_swizzle(emit, sampler_unit, inst, FALSE, &swz_info); in emit_sample()
7932 emit_sampler_register(emit, sampler_unit); in emit_sample()