/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bitmap_shader.c | 37 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()
|
D | st_nir_lower_tex_src_plane.c | 157 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()
|
D | st_cb_bitmap.h | 51 unsigned tex_target, unsigned sampler_index,
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_emittexinstruction.cpp | 107 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/ |
D | d3d12_nir_lower_texcmp.c | 93 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()
|
D | d3d12_lower_int_cubemap_to_array.c | 125 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/ |
D | swr_tex_sample.cpp | 305 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/ |
D | ir3_nir_lower_tg4_to_tex.c | 53 tex->sampler_index = tg4->sampler_index; in ir3_nir_lower_tg4_to_tex_instr()
|
D | ir3_nir_lower_tex_prefetch.c | 148 return (tex->texture_index <= 0x1f) && (tex->sampler_index <= 0xf); in ok_tex_samp()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 303 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 …]
|
D | nir_builtin_builder.c | 337 txs->sampler_index = tex->sampler_index; in nir_get_texture_size() 391 tql->sampler_index = tex->sampler_index; in nir_get_texture_lod()
|
D | nir_lower_drawpixels.c | 189 tex->sampler_index = state->options->pixelmap_sampler; in lower_color() 208 tex->sampler_index = state->options->pixelmap_sampler; in lower_color()
|
D | nir_lower_samplers.c | 111 instr->sampler_index = base_index; in lower_tex_src_to_offset()
|
D | nir_instr_set.c | 281 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/ |
D | dxil_nir_lower_int_samplers.c | 73 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/ |
D | lvp_lower_vulkan_resource.c | 128 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/ |
D | draw_llvm_sample.c | 334 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/ |
D | lp_tex_sample.c | 370 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/ |
D | tgsi_exec.h | 184 const unsigned sampler_index, 205 const unsigned sampler_index,
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 153 tex->sampler_index = old_tex->sampler_index; in create_plane_tex_instr_implicit()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 154 tex->sampler_index = old_tex->sampler_index; in create_plane_tex_instr_implicit()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_nir_builder.h | 63 tex->sampler_index = 0; in blorp_nir_txf_ms_mcs()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_private.h | 1697 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/ |
D | lp_bld_sample.h | 107 unsigned sampler_index; member 578 unsigned sampler_index,
|
D | lp_bld_sample_soa.c | 2501 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 …]
|