Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c37 unsigned sampler_index; member
91 tgsi_transform_sampler_decl(tctx, ctx->sampler_index); in transform_instr()
94 tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index, in transform_instr()
101 tgsi_tex_target, ctx->sampler_index); in transform_instr()
130 unsigned tex_target, unsigned sampler_index, in st_get_bitmap_shader() argument
143 ctx.sampler_index = sampler_index; in st_get_bitmap_shader()
Dst_nir_lower_tex_src_plane.c157 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block()
158 tex->texture_index = tex->sampler_index = u_v_samp; in lower_tex_src_plane_block()
Dst_cb_bitmap.h51 unsigned tex_target, unsigned sampler_index,
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp107 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_tex()
146 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_txd()
187 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_txf()
223 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_lod()
256 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_txl()
294 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_txb()
324 instr->sampler_index + R600_MAX_CONST_BUFFERS, in emit_tex_txs()
331 auto sampler = get_sampler_id(instr->sampler_index, tex_src.sampler_deref); in emit_tex_txs()
361 int res_id = R600_MAX_CONST_BUFFERS + instr->sampler_index; in emit_tex_texture_samples()
386 auto sampler = get_sampler_id(instr->sampler_index, src.sampler_deref); in emit_tex_tg4()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_lower_texcmp.c93 int sampler_index = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_sample_tex_compare_impl() local
94 assert(sampler_index >= 0); in lower_sample_tex_compare_impl()
96 sampler_deref = nir_instr_as_deref(tex->src[sampler_index].src.ssa->parent_instr); in lower_sample_tex_compare_impl()
Dd3d12_lower_int_cubemap_to_array.c125 array_tex->sampler_index = tex->sampler_index; in create_array_tex_from_cube_tex()
229 int sampler_index = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_int_cubmap_to_array_impl() local
230 assert(sampler_index >= 0); in lower_int_cubmap_to_array_impl()
232 …nir_deref_instr *sampler_deref = nir_instr_as_deref(tex->src[sampler_index].src.ssa->parent_instr); in lower_int_cubmap_to_array_impl()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp305 unsigned sampler_index = params->sampler_index; in swr_sampler_soa_emit_fetch_texel() local
307 assert(sampler_index < PIPE_MAX_SAMPLERS); in swr_sampler_soa_emit_fetch_texel()
315 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in swr_sampler_soa_emit_fetch_texel()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c53 tex->sampler_index = tg4->sampler_index; in ir3_nir_lower_tg4_to_tex_instr()
Dir3_nir_lower_tex_prefetch.c148 return (tex->texture_index <= 0x1f) && (tex->sampler_index <= 0xf); in ok_tex_samp()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c303 plane_tex->sampler_index = tex->sampler_index; in sample_plane()
769 txd->sampler_index = tex->sampler_index; in lower_tex_to_txd()
805 txl->sampler_index = tex->sampler_index; in lower_txb_to_txl()
998 switch (options->lower_tex_packing[tex->sampler_index]) { in lower_tex_packing()
1063 unsigned sampler_index = tex->sampler_index; in sampler_index_lt() local
1071 sampler_index += nir_src_as_uint(tex->src[sampler_offset_idx].src); in sampler_index_lt()
1074 return sampler_index < max; in sampler_index_lt()
1275 if ((1 << tex->sampler_index) & options->saturate_r) in nir_lower_tex_block()
1277 if ((1 << tex->sampler_index) & options->saturate_t) in nir_lower_tex_block()
1279 if ((1 << tex->sampler_index) & options->saturate_s) in nir_lower_tex_block()
[all …]
Dnir_builtin_builder.c337 txs->sampler_index = tex->sampler_index; in nir_get_texture_size()
391 tql->sampler_index = tex->sampler_index; in nir_get_texture_lod()
Dnir_lower_drawpixels.c189 tex->sampler_index = state->options->pixelmap_sampler; in lower_color()
208 tex->sampler_index = state->options->pixelmap_sampler; in lower_color()
Dnir_lower_samplers.c111 instr->sampler_index = base_index; in lower_tex_src_to_offset()
Dnir_instr_set.c281 hash = HASH(hash, instr->sampler_index); in hash_tex()
667 tex1->sampler_index != tex2->sampler_index) { in nir_instrs_equal()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c73 tql->sampler_index = tex->sampler_index; in dx_get_texture_lod()
273 txf->sampler_index = tex->sampler_index; in create_txf_from_tex()
423 dxil_wrap_sampler_state *active_wrap_state = &states->wrap_states[tex->sampler_index]; in lower_sample_to_txf_for_integer_tex_impl()
526 &states->tex_swizzles[tex->sampler_index]: in lower_sample_to_txf_for_integer_tex_impl()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c128 value += binding->stage[stage].sampler_index; in lower_vri_instr_tex_deref()
143 tex->sampler_index = value; in lower_vri_instr_tex_deref()
226 value += binding->stage[shader->info.stage].sampler_index; in lvp_lower_pipeline_layout()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c334 unsigned sampler_index = params->sampler_index; in draw_llvm_sampler_soa_emit_fetch_texel() local
337 assert(sampler_index < PIPE_MAX_SAMPLERS); in draw_llvm_sampler_soa_emit_fetch_texel()
356 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in draw_llvm_sampler_soa_emit_fetch_texel()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c370 unsigned sampler_index = params->sampler_index; in lp_llvm_sampler_soa_emit_fetch_texel() local
372 assert(sampler_index < PIPE_MAX_SAMPLERS); in lp_llvm_sampler_soa_emit_fetch_texel()
397 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in lp_llvm_sampler_soa_emit_fetch_texel()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h184 const unsigned sampler_index,
205 const unsigned sampler_index,
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c153 tex->sampler_index = old_tex->sampler_index; in create_plane_tex_instr_implicit()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c154 tex->sampler_index = old_tex->sampler_index; in create_plane_tex_instr_implicit()
/third_party/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h63 tex->sampler_index = 0; in blorp_nir_txf_ms_mcs()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_private.h1697 uint32_t sampler_index) in v3dv_pipeline_combined_index_key_create() argument
1699 return texture_index << 24 | sampler_index; in v3dv_pipeline_combined_index_key_create()
1705 uint32_t *sampler_index) in v3dv_pipeline_combined_index_key_unpack() argument
1713 if (sampler_index) in v3dv_pipeline_combined_index_key_unpack()
1714 *sampler_index = sampler; in v3dv_pipeline_combined_index_key_unpack()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h107 unsigned sampler_index; member
578 unsigned sampler_index,
Dlp_bld_sample_soa.c2501 unsigned sampler_index, in lp_build_sample_common() argument
2588 sampler_index); in lp_build_sample_common()
2593 lp_build_lod_selector(bld, is_lodq, texture_index, sampler_index, in lp_build_sample_common()
3269 unsigned sampler_index, in lp_build_sample_soa_code() argument
3671 lp_build_sample_common(&bld, op_is_lodq, texture_index, sampler_index, in lp_build_sample_soa_code()
3701 lp_build_sample_aos(&bld, sampler_index, in lp_build_sample_soa_code()
3710 lp_build_sample_general(&bld, sampler_index, in lp_build_sample_soa_code()
3845 lp_build_sample_aos(&bld4, sampler_index, in lp_build_sample_soa_code()
3861 lp_build_sample_general(&bld4, sampler_index, in lp_build_sample_soa_code()
3933 unsigned sampler_index, in lp_build_sample_gen_func() argument
[all …]

1234