Searched refs:texture_unit (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.h117 unsigned texture_unit; member in struct:lp_sampler_size_query_params
199 unsigned texture_unit);
206 unsigned texture_unit);
213 unsigned texture_unit);
220 unsigned texture_unit);
227 unsigned texture_unit);
234 unsigned texture_unit);
241 unsigned texture_unit);
248 unsigned texture_unit);
255 unsigned texture_unit);
[all...]
H A Dlp_bld_tgsi_info.c161 tex_info->texture_unit = inst->Src[3].Register.Index;
169 tex_info->texture_unit = inst->Src[1].Register.Index;
243 tex_info->texture_unit = inst->Src[1].Register.Index;
246 if (tex_info->texture_unit != tex_info->sampler_unit) {
486 tex_info->texture_unit,
H A Dlp_bld_sample.c210 unsigned texture_unit,
250 bld->context_ptr, texture_unit);
698 unsigned texture_unit,
764 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs);
905 unsigned texture_unit,
915 bld->context_ptr, texture_unit);
917 bld->context_ptr, texture_unit);
960 unsigned texture_unit,
977 bld->context_ptr, texture_unit);
979 bld->context_ptr, texture_unit);
209 lp_build_rho(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,LLVMValueRef cube_rho,const struct lp_derivatives * derivs) argument
696 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,unsigned mip_filter,LLVMValueRef * out_lod,LLVMValueRef * out_lod_ipart,LLVMValueRef * out_lod_fpart,LLVMValueRef * out_lod_positive) argument
904 lp_build_nearest_mip_level(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef lod_ipart,LLVMValueRef * level_out,LLVMValueRef * out_of_bounds) argument
959 lp_build_linear_mip_levels(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef lod_ipart,LLVMValueRef * lod_fpart_inout,LLVMValueRef * level0_out,LLVMValueRef * level1_out) argument
[all...]
H A Dlp_bld_sample_soa.c2004 unsigned texture_unit,
2013 bld->context_ptr, texture_unit);
2584 unsigned texture_unit,
2611 lp_build_nearest_mip_level(bld, texture_unit, ilevel, &ilevel,
2618 bld->context_ptr, texture_unit);
2633 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, &out1);
2637 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, NULL);
3778 unsigned texture_unit = params->texture_unit; local in function:lp_build_size_query_soa
3843 context_ptr, texture_unit);
2003 lp_build_layer_coord(struct lp_build_sample_context * bld,unsigned texture_unit,boolean is_cube_array,LLVMValueRef layer,LLVMValueRef * out_of_bounds) argument
2583 lp_build_fetch_texel(struct lp_build_sample_context * bld,unsigned texture_unit,const LLVMValueRef * coords,LLVMValueRef explicit_lod,const LLVMValueRef * offsets,LLVMValueRef * colors_out) argument
[all...]
H A Dlp_bld_tgsi.h115 unsigned texture_unit:8; /* Texture unit */ member in struct:lp_tgsi_texture_info
H A Dlp_bld_tgsi_soa.c2296 unsigned texture_unit, sampler_unit; local in function:emit_sample
2322 texture_unit = inst->Src[1].Register.Index;
2330 switch (bld->sv[texture_unit].Resource) {
2442 params.texture_index = texture_unit;
2651 params.texture_unit = unit;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp103 unsigned texture_unit,
113 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
134 indices[2] = lp_build_const_int32(gallivm, texture_unit);
145 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
165 unsigned texture_unit) \
170 texture_unit, \
316 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
320 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
100 swr_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,unsigned member_index,const char * member_name,boolean emit_load) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c88 unsigned texture_unit,
98 debug_assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
105 indices[2] = lp_build_const_int32(gallivm, texture_unit);
116 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
182 unsigned texture_unit) \
185 texture_unit, _index, #_name, _emit_load ); \
258 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
261 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
85 draw_llvm_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,unsigned member_index,const char * member_name,boolean emit_load) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c94 unsigned texture_unit,
104 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
111 indices[2] = lp_build_const_int32(gallivm, texture_unit);
122 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
142 unsigned texture_unit) \
145 texture_unit, _index, #_name, _emit_load ); \
283 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
286 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
91 lp_llvm_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,unsigned member_index,const char * member_name,boolean emit_load) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp104 unsigned texture_unit,
114 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
141 indices[2] = lp_build_const_int32(gallivm, texture_unit);
152 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
172 unsigned texture_unit, \
178 texture_unit, \
332 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
336 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
101 swr_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,unsigned member_index,const char * member_name,boolean emit_load) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.h124 unsigned texture_unit; member in struct:lp_sampler_size_query_params
229 unsigned texture_unit, LLVMValueRef texture_unit_offset);
236 unsigned texture_unit, LLVMValueRef texture_unit_offset);
243 unsigned texture_unit, LLVMValueRef texture_unit_offset);
250 unsigned texture_unit, LLVMValueRef texture_unit_offset);
257 unsigned texture_unit, LLVMValueRef texture_unit_offset);
264 unsigned texture_unit, LLVMValueRef texture_unit_offset);
271 unsigned texture_unit, LLVMValueRef texture_unit_offset);
278 unsigned texture_unit, LLVMValueRef texture_unit_offset);
285 unsigned texture_unit, LLVMValueRe
[all...]
H A Dlp_bld_tgsi_info.c162 tex_info->texture_unit = inst->Src[3].Register.Index;
170 tex_info->texture_unit = inst->Src[1].Register.Index;
244 tex_info->texture_unit = inst->Src[1].Register.Index;
247 if (tex_info->texture_unit != tex_info->sampler_unit) {
494 tex_info->texture_unit,
H A Dlp_bld_sample.c241 unsigned texture_unit,
264 bld->context_ptr, texture_unit, NULL);
335 unsigned texture_unit,
375 bld->context_ptr, texture_unit, NULL);
823 unsigned texture_unit,
892 rho = lp_build_pmin(bld, texture_unit, s, t, max_aniso);
895 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs);
1042 unsigned texture_unit,
1052 bld->context_ptr, texture_unit, NULL);
1054 bld->context_ptr, texture_unit, NUL
240 lp_build_pmin(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef s,LLVMValueRef t,LLVMValueRef max_aniso) argument
334 lp_build_rho(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,LLVMValueRef cube_rho,const struct lp_derivatives * derivs) argument
821 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,unsigned mip_filter,LLVMValueRef max_aniso,LLVMValueRef * out_lod,LLVMValueRef * out_lod_ipart,LLVMValueRef * out_lod_fpart,LLVMValueRef * out_lod_positive) argument
1041 lp_build_nearest_mip_level(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef lod_ipart,LLVMValueRef * level_out,LLVMValueRef * out_of_bounds) argument
1096 lp_build_linear_mip_levels(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef lod_ipart,LLVMValueRef * lod_fpart_inout,LLVMValueRef * level0_out,LLVMValueRef * level1_out) argument
[all...]
H A Dlp_bld_sample_soa.c2040 unsigned texture_unit,
2049 bld->context_ptr, texture_unit, NULL);
3074 unsigned texture_unit,
3102 lp_build_nearest_mip_level(bld, texture_unit, ilevel, &ilevel,
3109 bld->context_ptr, texture_unit, NULL);
3124 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, &out1);
3128 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, NULL);
3178 bld->context_ptr, texture_unit, NULL);
4339 unsigned texture_unit = params->texture_unit; local in function:lp_build_size_query_soa
2039 lp_build_layer_coord(struct lp_build_sample_context * bld,unsigned texture_unit,boolean is_cube_array,LLVMValueRef layer,LLVMValueRef * out_of_bounds) argument
3073 lp_build_fetch_texel(struct lp_build_sample_context * bld,unsigned texture_unit,LLVMValueRef ms_index,const LLVMValueRef * coords,LLVMValueRef explicit_lod,const LLVMValueRef * offsets,LLVMValueRef * colors_out) argument
[all...]
H A Dlp_bld_tgsi.h116 unsigned texture_unit:8; /* Texture unit */ member in struct:lp_tgsi_texture_info
H A Dlp_bld_tgsi_soa.c2282 unsigned texture_unit, sampler_unit; local in function:emit_sample
2308 texture_unit = inst->Src[1].Register.Index;
2316 switch (bld->sv[texture_unit].Resource) {
2428 params.texture_index = texture_unit;
2647 params.texture_unit = unit;
3685 params.texture_unit = buf;
H A Dlp_bld_nir.c1549 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index);
1570 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index);
1957 params.texture_unit = instr->texture_index;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c113 unsigned texture_unit,
124 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
131 indices[2] = lp_build_const_int32(gallivm, texture_unit);
135 indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), "");
147 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
167 unsigned texture_unit, \
171 texture_unit, texture_unit_offset, \
413 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
416 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
509 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGE
110 lp_llvm_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,LLVMValueRef texture_unit_offset,unsigned member_index,const char * member_name,boolean emit_load) argument
[all...]
H A Dlp_state_fs_analysis.c110 tex->texture_unit != 0 ||
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c105 unsigned texture_unit,
116 debug_assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
123 indices[2] = lp_build_const_int32(gallivm, texture_unit);
127 indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), "");
139 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name);
255 unsigned texture_unit, \
259 texture_unit, texture_unit_offset, \
373 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS);
376 &sampler->dynamic_state.static_state[params->texture_unit].texture_state,
455 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGE
102 draw_llvm_texture_member(const struct lp_sampler_dynamic_state * base,struct gallivm_state * gallivm,LLVMValueRef context_ptr,unsigned texture_unit,LLVMValueRef texture_unit_offset,unsigned member_index,const char * member_name,boolean emit_load) argument
[all...]

Completed in 41 milliseconds