/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_bitmap.h | 52 unsigned tex_target, unsigned sampler_index,
|
H A D | st_cb_bitmap_shader.c | 38 unsigned sampler_index; member in struct:tgsi_bitmap_transform 92 tgsi_transform_sampler_decl(tctx, ctx->sampler_index); 95 tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index, 102 tgsi_tex_target, ctx->sampler_index); 131 unsigned tex_target, unsigned sampler_index, 144 ctx.sampler_index = sampler_index; 130 st_get_bitmap_shader(const struct tgsi_token *tokens, unsigned tex_target, unsigned sampler_index, bool use_texcoord, bool swizzle_xxxx) argument
|
H A D | st_nir_lower_tex_src_plane.c | 82 assume(tex->texture_index == tex->sampler_index); 86 tex->texture_index = tex->sampler_index =
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
H A D | toy_helpers.h | 161 unsigned sampler_index, 168 assert(sampler_index < 16); 174 sampler_index << 8 | 180 sampler_index << 8 |
|
H A D | ilo_shader_vs.c | 395 unsigned simd_mode, msg_type, msg_len, sampler_index, binding_table_index; local 507 sampler_index = inst->src[sampler_src].val32; 508 binding_table_index = vcc->shader->bt.tex_base + sampler_index; 561 *ret_sampler_index = sampler_index; 564 false, simd_mode, msg_type, sampler_index, binding_table_index); 574 unsigned sampler_index; local 580 vcc->first_free_mrf, &sampler_index); 606 assert(sampler_index < vcc->variant->num_sampler_views); 607 swizzles[0] = vcc->variant->sampler_view_swizzles[sampler_index].r; 608 swizzles[1] = vcc->variant->sampler_view_swizzles[sampler_index] [all...] |
H A D | ilo_shader_fs.c | 723 unsigned simd_mode, msg_type, msg_len, sampler_index, binding_table_index; local 982 sampler_index = inst->src[sampler_src].val32; 983 binding_table_index = fcc->shader->bt.tex_base + sampler_index; 1025 if (!(saturate_coords[i] & (1 << sampler_index))) 1090 *ret_sampler_index = sampler_index; 1093 false, simd_mode, msg_type, sampler_index, binding_table_index); 1103 unsigned sampler_index; local 1110 &sampler_index); 1139 assert(sampler_index < fcc->variant->num_sampler_views); 1140 swizzles[0] = fcc->variant->sampler_view_swizzles[sampler_index] [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm_sample.c | 236 unsigned sampler_index = params->sampler_index; local 239 assert(sampler_index < PIPE_MAX_SAMPLERS); 242 &sampler->dynamic_state.static_state[sampler_index].sampler_state,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tex_sample.c | 257 unsigned sampler_index = params->sampler_index; local 259 assert(sampler_index < PIPE_MAX_SAMPLERS); 268 &sampler->dynamic_state.static_state[sampler_index].sampler_state,
|
/external/mesa3d/src/gallium/drivers/swr/ |
H A D | swr_tex_sample.cpp | 283 unsigned sampler_index = params->sampler_index; local 285 assert(sampler_index < PIPE_MAX_SAMPLERS); 293 &sampler->dynamic_state.static_state[sampler_index].sampler_state,
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_bitmap.c | 95 tex->sampler_index = options->sampler;
|
H A D | nir_lower_drawpixels.c | 134 tex->sampler_index = state->options->drawpix_sampler; 162 tex->sampler_index = state->options->pixelmap_sampler; 177 tex->sampler_index = state->options->pixelmap_sampler;
|
H A D | nir_lower_tex.c | 167 txs->sampler_index = tex->sampler_index; 223 plane_tex->sampler_index = tex->sampler_index; 323 txl->sampler_index = tex->sampler_index; 721 if ((1 << tex->sampler_index) & options->saturate_r) 723 if ((1 << tex->sampler_index) & options->saturate_t) 725 if ((1 << tex->sampler_index) & options->saturate_s)
|
H A D | nir_lower_samplers.c | 152 instr->sampler_index = instr->texture_index;
|
H A D | nir_instr_set.c | 162 hash = HASH(hash, instr->sampler_index); 316 tex1->sampler_index != tex2->sampler_index) {
|
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_apply_pipeline_layout.c | 210 tex->sampler_index = state->set[set].sampler_offsets[binding]; 211 lower_tex_deref(tex, tex->sampler, &tex->sampler_index, array_size, 304 if (set_layout->binding[b].stage[shader->stage].sampler_index >= 0) 332 if (set_layout->binding[b].stage[shader->stage].sampler_index >= 0) {
|
H A D | anv_nir_lower_input_attachments.c | 92 tex->sampler_index = 0;
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample.h | 102 unsigned sampler_index; member in struct:lp_sampler_params 490 unsigned sampler_index,
|
H A D | lp_bld_sample_soa.c | 1795 unsigned sampler_index, 1877 lp_build_lod_selector(bld, texture_index, sampler_index, 2464 unsigned sampler_index, 2850 lp_build_sample_common(&bld, texture_index, sampler_index, 2873 lp_build_sample_aos(&bld, sampler_index, 2882 lp_build_sample_general(&bld, sampler_index, 3014 lp_build_sample_aos(&bld4, sampler_index, 3030 lp_build_sample_general(&bld4, sampler_index, 3102 unsigned sampler_index, 3189 sampler_index, 1793 lp_build_sample_common(struct lp_build_sample_context *bld, unsigned texture_index, unsigned sampler_index, LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_pos_or_zero, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) argument 2457 lp_build_sample_soa_code(struct gallivm_state *gallivm, const struct lp_static_texture_state *static_texture_state, const struct lp_static_sampler_state *static_sampler_state, struct lp_sampler_dynamic_state *dynamic_state, struct lp_type type, unsigned sample_key, unsigned texture_index, unsigned sampler_index, LLVMValueRef context_ptr, LLVMValueRef thread_data_ptr, const LLVMValueRef *coords, const LLVMValueRef *offsets, const struct lp_derivatives *derivs, LLVMValueRef lod, LLVMValueRef texel_out[4]) argument 3096 lp_build_sample_gen_func(struct gallivm_state *gallivm, const struct lp_static_texture_state *static_texture_state, const struct lp_static_sampler_state *static_sampler_state, struct lp_sampler_dynamic_state *dynamic_state, struct lp_type type, unsigned texture_index, unsigned sampler_index, LLVMValueRef function, unsigned num_args, unsigned sample_key) argument 3229 unsigned sampler_index = params->sampler_index; local [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.h | 193 const unsigned sampler_index, 214 const unsigned sampler_index,
|
H A D | tgsi_transform.h | 529 unsigned sampler_index) 546 inst.Src[1].Register.Index = sampler_index; 523 tgsi_transform_tex_inst(struct tgsi_transform_context *ctx, unsigned dst_file, unsigned dst_index, unsigned src_file, unsigned src_index, unsigned tex_target, unsigned sampler_index) argument
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_fs_generator.cpp | 625 struct brw_reg sampler_index) 835 assert(sampler_index.type == BRW_REGISTER_TYPE_UD); 876 brw_adjust_sampler_state_pointer(p, header_reg, sampler_index); 887 sampler_index.file == BRW_IMMEDIATE_VALUE) { 889 uint32_t sampler = sampler_index.ud; 910 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); 623 generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src, struct brw_reg surface_index, struct brw_reg sampler_index) argument
|
H A D | brw_vec4_generator.cpp | 114 struct brw_reg sampler_index) 210 assert(sampler_index.type == BRW_REGISTER_TYPE_UD); 253 brw_adjust_sampler_state_pointer(p, header, sampler_index); 278 sampler_index.file == BRW_IMMEDIATE_VALUE) { 280 uint32_t sampler = sampler_index.ud; 301 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); 107 generate_tex(struct brw_codegen *p, struct brw_vue_prog_data *prog_data, gl_shader_stage stage, vec4_instruction *inst, struct brw_reg dst, struct brw_reg src, struct brw_reg surface_index, struct brw_reg sampler_index) argument
|
H A D | brw_eu.h | 319 struct brw_reg sampler_index);
|
H A D | brw_fs.h | 409 struct brw_reg sampler_index);
|
/external/mesa3d/src/compiler/ |
H A D | glsl_types.h | 545 gl_texture_index sampler_index() const;
|