Home
last modified time | relevance | path

Searched refs:sampler_index (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c38 unsigned sampler_index; member
92 tgsi_transform_sampler_decl(tctx, ctx->sampler_index); in transform_instr()
95 tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index, in transform_instr()
102 tgsi_tex_target, ctx->sampler_index); in transform_instr()
131 unsigned tex_target, unsigned sampler_index, in st_get_bitmap_shader() argument
144 ctx.sampler_index = sampler_index; in st_get_bitmap_shader()
Dst_nir_lower_tex_src_plane.c82 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block()
86 tex->texture_index = tex->sampler_index = in lower_tex_src_plane_block()
Dst_cb_bitmap.h51 unsigned tex_target, unsigned sampler_index,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c236 unsigned sampler_index = params->sampler_index; in draw_llvm_sampler_soa_emit_fetch_texel() local
239 assert(sampler_index < PIPE_MAX_SAMPLERS); in draw_llvm_sampler_soa_emit_fetch_texel()
242 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in draw_llvm_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp289 unsigned sampler_index = params->sampler_index; in swr_sampler_soa_emit_fetch_texel() local
291 assert(sampler_index < PIPE_MAX_SAMPLERS); in swr_sampler_soa_emit_fetch_texel()
299 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in swr_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c257 unsigned sampler_index = params->sampler_index; in lp_llvm_sampler_soa_emit_fetch_texel() local
259 assert(sampler_index < PIPE_MAX_SAMPLERS); in lp_llvm_sampler_soa_emit_fetch_texel()
268 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in lp_llvm_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c119 txs->sampler_index = tex->sampler_index; in get_texture_size()
232 plane_tex->sampler_index = tex->sampler_index; in sample_plane()
346 txl->sampler_index = tex->sampler_index; in replace_gradient_with_lod()
743 if ((1 << tex->sampler_index) & options->saturate_r) in nir_lower_tex_block()
745 if ((1 << tex->sampler_index) & options->saturate_t) in nir_lower_tex_block()
747 if ((1 << tex->sampler_index) & options->saturate_s) in nir_lower_tex_block()
Dnir_lower_drawpixels.c134 tex->sampler_index = state->options->drawpix_sampler; in lower_color()
164 tex->sampler_index = state->options->pixelmap_sampler; in lower_color()
179 tex->sampler_index = state->options->pixelmap_sampler; in lower_color()
Dnir_instr_set.c162 hash = HASH(hash, instr->sampler_index); in hash_tex()
316 tex1->sampler_index != tex2->sampler_index) { in nir_instrs_equal()
Dnir_lower_bitmap.c95 tex->sampler_index = options->sampler; in lower_bitmap()
Dnir_lower_samplers.c126 instr->sampler_index = instr->texture_index; in lower_sampler()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c66 tex->sampler_index = tg4->sampler_index; in lower_tg4()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c270 tex->sampler_index = state->set[set].sampler_offsets[binding]; in lower_tex()
271 lower_tex_deref(tex, tex->sampler, &tex->sampler_index, array_size, in lower_tex()
273 tex->sampler_index += plane; in lower_tex()
371 if (set_layout->binding[b].stage[stage].sampler_index >= 0) { in anv_nir_apply_pipeline_layout()
407 if (binding->stage[stage].sampler_index >= 0) { in anv_nir_apply_pipeline_layout()
Danv_nir_lower_input_attachments.c92 tex->sampler_index = 0; in try_lower_input_load()
Danv_nir_lower_ycbcr_textures.c271 tex->sampler_index = old_tex->sampler_index; in create_plane_tex_instr_implicit()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h202 const unsigned sampler_index,
223 const unsigned sampler_index,
Dtgsi_transform.h534 unsigned sampler_index) in tgsi_transform_tex_inst() argument
549 tgsi_transform_src_reg_xyzw(&inst.Src[1], TGSI_FILE_SAMPLER, sampler_index); in tgsi_transform_tex_inst()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h64 tex->sampler_index = 0; in blorp_nir_txf_ms_mcs()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h103 unsigned sampler_index; member
497 unsigned sampler_index,
Dlp_bld_sample_soa.c2042 unsigned sampler_index, in lp_build_sample_common() argument
2125 lp_build_lod_selector(bld, is_lodq, texture_index, sampler_index, in lp_build_sample_common()
2743 unsigned sampler_index, in lp_build_sample_soa_code() argument
3146 lp_build_sample_common(&bld, op_is_lodq, texture_index, sampler_index, in lp_build_sample_soa_code()
3176 lp_build_sample_aos(&bld, sampler_index, in lp_build_sample_soa_code()
3185 lp_build_sample_general(&bld, sampler_index, in lp_build_sample_soa_code()
3319 lp_build_sample_aos(&bld4, sampler_index, in lp_build_sample_soa_code()
3335 lp_build_sample_general(&bld4, sampler_index, in lp_build_sample_soa_code()
3407 unsigned sampler_index, in lp_build_sample_gen_func() argument
3494 sampler_index, in lp_build_sample_gen_func()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_generator.cpp114 struct brw_reg sampler_index) in generate_tex() argument
210 assert(sampler_index.type == BRW_REGISTER_TYPE_UD); in generate_tex()
253 brw_adjust_sampler_state_pointer(p, header, sampler_index); in generate_tex()
278 sampler_index.file == BRW_IMMEDIATE_VALUE) { in generate_tex()
280 uint32_t sampler = sampler_index.ud; in generate_tex()
301 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); in generate_tex()
Dbrw_fs_generator.cpp733 struct brw_reg sampler_index) in generate_tex() argument
943 assert(sampler_index.type == BRW_REGISTER_TYPE_UD); in generate_tex()
981 sampler_index.file == BRW_IMMEDIATE_VALUE) { in generate_tex()
983 uint32_t sampler = sampler_index.ud; in generate_tex()
1004 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); in generate_tex()
/external/virglrenderer/src/
Dvrend_shader.c1809 const int sampler_index = 1; in emit_txq() local
1834 …reQueryLevels(%s));\n", dsts[0], get_wm_string(twm), get_string(dtypeprefix), srcs[sampler_index]); in emit_txq()
1869 …s))%s;\n", dsts[0], get_wm_string(twm), get_string(dtypeprefix), srcs[sampler_index], bias, util_b… in emit_txq()
1883 const int sampler_index = 0; in emit_txqs() local
1896 get_string(dtypeprefix), srcs[sampler_index]); in emit_txqs()
2068 int sampler_index; in translate_tex() local
2089 sampler_index = 1; in translate_tex()
2186 sampler_index = 2; in translate_tex()
2205 sampler_index = 3; in translate_tex()
2207 sampler_index = 2; in translate_tex()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c3547 const unsigned sampler_index, in sp_tgsi_get_samples() argument
3565 assert(sampler_index < PIPE_MAX_SAMPLERS); in sp_tgsi_get_samples()
3566 assert(sp_tgsi_samp->sp_sampler[sampler_index]); in sp_tgsi_get_samples()
3569 sp_samp = sp_tgsi_samp->sp_sampler[sampler_index]; in sp_tgsi_get_samples()
3605 const unsigned sampler_index, in sp_tgsi_query_lod() argument
3624 assert(sampler_index < PIPE_MAX_SAMPLERS); in sp_tgsi_query_lod()
3625 assert(sp_tgsi_samp->sp_sampler[sampler_index]); in sp_tgsi_query_lod()
3628 sp_samp = sp_tgsi_samp->sp_sampler[sampler_index]; in sp_tgsi_query_lod()
/external/mesa3d/src/compiler/
Dglsl_types.h575 gl_texture_index sampler_index() const;

12