/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_pstipple.c | 69 uint sampler_unit; member 142 &pstip->fs->sampler_unit, in generate_pstip_fs() 150 &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() 211 /* we'll use sampler/texture[pstip->sampler_unit] for the stipple */ in pstip_first_tri() 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()
|
H A D | draw_llvm_sample.c | 157 unsigned sampler_unit, in draw_llvm_sampler_member() 167 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) \ 284 sampler_unit, _index, #_name, _emit_load ); \ 154 draw_llvm_sampler_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, LLVMValueRef context_ptr, unsigned sampler_unit, unsigned member_index, const char *member_name, boolean emit_load) draw_llvm_sampler_member() argument
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tex_sample.c | 206 unsigned sampler_unit, in lp_llvm_sampler_member() 214 assert(sampler_unit < PIPE_MAX_SAMPLERS); in lp_llvm_sampler_member() 221 indices[2] = lp_build_const_int32(gallivm, sampler_unit); in lp_llvm_sampler_member() 230 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); in lp_llvm_sampler_member() 241 unsigned sampler_unit) \ 244 sampler_unit, _index, #_name, _emit_load ); \ 203 lp_llvm_sampler_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, LLVMValueRef context_ptr, unsigned sampler_unit, unsigned member_index, const char *member_name, boolean emit_load) lp_llvm_sampler_member() argument
|
H A D | lp_linear.c | 169 const unsigned samp_unit = tex_info->sampler_unit; in lp_fs_linear_run() 313 const unsigned unit = tex_info->sampler_unit; in lp_linear_check_variant()
|
H A D | lp_state_fs_analysis.c | 109 if (tex->sampler_unit != 0 || in match_aero_minification_shader() 354 tex_info->sampler_unit = tex->sampler_index; in llvmpipe_nir_fn_is_linear_compat()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample.h | 313 unsigned sampler_unit); 320 unsigned sampler_unit); 327 unsigned sampler_unit); 334 unsigned sampler_unit); 341 unsigned sampler_unit);
|
H A D | lp_bld_tgsi_info.c | 161 tex_info->sampler_unit = inst->Src[3].Register.Index; in analyse_tex() 169 tex_info->sampler_unit = inst->Src[1].Register.Index; in analyse_tex() 245 tex_info->sampler_unit = inst->Src[2].Register.Index; in analyse_sample() 247 if (tex_info->texture_unit != tex_info->sampler_unit) { in analyse_sample() 495 tex_info->sampler_unit, in dump_info()
|
H A D | lp_bld_sample_aos.h | 45 unsigned sampler_unit,
|
H A D | lp_bld_sample.c | 832 unsigned sampler_unit, in lp_build_lod_selector() 881 bld->context_ptr, sampler_unit); in lp_build_lod_selector() 980 bld->context_ptr, sampler_unit); in lp_build_lod_selector() 994 bld->context_ptr, sampler_unit); in lp_build_lod_selector() 1002 bld->context_ptr, sampler_unit); in lp_build_lod_selector() 829 lp_build_lod_selector(struct lp_build_sample_context *bld, boolean is_lodq, unsigned texture_unit, unsigned sampler_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef cube_rho, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, enum pipe_tex_mipfilter mip_filter, LLVMValueRef max_aniso, LLVMValueRef *out_lod, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart, LLVMValueRef *out_lod_positive) lp_build_lod_selector() argument
|
H A D | lp_bld_tgsi.h | 113 unsigned sampler_unit:8; /* Sampler unit */ member
|
H A D | lp_bld_sample_soa.c | 2701 unsigned sampler_unit) in lp_build_clamp_border_color() 2707 bld->context_ptr, sampler_unit); in lp_build_clamp_border_color() 2934 unsigned sampler_unit, in lp_build_sample_general() 2964 lp_build_clamp_border_color(bld, sampler_unit); in lp_build_sample_general() 2974 lp_build_name(texels[chan], "sampler%u_texel_%c_var", sampler_unit, "xyzw"[chan]); in lp_build_sample_general() 3082 lp_build_name(colors_out[chan], "sampler%u_texel_%c", sampler_unit, "xyzw"[chan]); in lp_build_sample_general() 2700 lp_build_clamp_border_color(struct lp_build_sample_context *bld, unsigned sampler_unit) lp_build_clamp_border_color() argument 2933 lp_build_sample_general(struct lp_build_sample_context *bld, unsigned sampler_unit, boolean is_gather, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef lod_positive, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef *colors_out) lp_build_sample_general() argument
|
H A D | lp_bld_sample_aos.c | 1110 unsigned sampler_unit, in lp_build_sample_aos() 1109 lp_build_sample_aos(struct lp_build_sample_context *bld, unsigned sampler_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, const LLVMValueRef *offsets, LLVMValueRef lod_positive, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef texel_out[4]) lp_build_sample_aos() argument
|
H A D | lp_bld_tgsi_soa.c | 2287 unsigned texture_unit, sampler_unit; in emit_sample() local 2314 sampler_unit = inst->Src[2].Register.Index; in emit_sample() 2434 params.sampler_index = sampler_unit; in emit_sample()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.c | 2144 uint resource_unit, sampler_unit; in exec_lodq() local 2155 sampler_unit = fetch_sampler_unit(mach, inst, 2); in exec_lodq() 2158 sampler_unit = resource_unit; in exec_lodq() 2169 mach->Sampler->query_lod(mach->Sampler, resource_unit, sampler_unit, in exec_lodq() 2442 const uint sampler_unit = inst->Src[2].Register.Index; in exec_sample() local 2481 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample() 2487 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample() 2500 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample() 2506 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample() 2520 fetch_texel(mach->Sampler, resource_unit, sampler_unit, in exec_sample() 2575 const uint sampler_unit = inst->Src[2].Register.Index; exec_sample_d() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_vgpu10.c | 8564 const unsigned sampler_unit = inst->Src[2].Register.Index; in emit_sample() local 8569 begin_tex_swizzle(emit, sampler_unit, inst, FALSE, &swz_info); in emit_sample() 8586 emit_sampler_register(emit, sampler_unit); in emit_sample()
|