/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex_shadow.c | 93 int sampler_index = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in nir_lower_tex_shadow_impl() local 94 if (sampler_index >= 0) { in nir_lower_tex_shadow_impl() 95 sampler_deref = nir_instr_as_deref(tex->src[sampler_index].src.ssa->parent_instr); in nir_lower_tex_shadow_impl() 129 if (sampler_index >= 0) { in nir_lower_tex_shadow_impl()
|
D | nir_lower_tex.c | 329 plane_tex->sampler_index = tex->sampler_index; in sample_plane() 808 txd->sampler_index = tex->sampler_index; in lower_tex_to_txd() 847 txl->sampler_index = tex->sampler_index; in lower_txb_to_txl() 1043 switch (options->lower_tex_packing[tex->sampler_index]) { in lower_tex_packing() 1129 unsigned sampler_index = tex->sampler_index; in sampler_index_lt() local 1137 sampler_index += nir_src_as_uint(tex->src[sampler_offset_idx].src); in sampler_index_lt() 1140 return sampler_index < max; in sampler_index_lt() 1378 if ((1 << tex->sampler_index) & options->saturate_r) in nir_lower_tex_block() 1380 if ((1 << tex->sampler_index) & options->saturate_t) in nir_lower_tex_block() 1382 if ((1 << tex->sampler_index) & options->saturate_s) in nir_lower_tex_block() [all …]
|
D | nir_builtin_builder.c | 358 txs->sampler_index = tex->sampler_index; in nir_get_texture_size() 412 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 | 283 hash = HASH(hash, instr->sampler_index); in hash_tex() 671 tex1->sampler_index != tex2->sampler_index) { in nir_instrs_equal()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_opt_dual_tex.c | 55 (I->texture_index < 4 && I->sampler_index < 4) && in bi_can_fuse_dual_tex() 77 .primary_sampler_index = I1->sampler_index, in bi_fuse_dual() 82 .secondary_sampler_index = I2->sampler_index, in bi_fuse_dual()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instr_tex.cpp | 393 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex() 416 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txl_txb() 442 int sampler = tex->sampler_index; in emit_tex_txf() 542 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex_ms_direct() 580 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex_ms() 666 int res_id = R600_MAX_CONST_BUFFERS + instr->sampler_index; in emit_tex_texture_samples() 701 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txd() 772 … tex->sampler_index + R600_MAX_CONST_BUFFERS)); in emit_tex_txs() 774 int id = 2 * tex->sampler_index + (512 + R600_BUFFER_INFO_OFFSET / 16) + 1; in emit_tex_txs() 786 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txs() [all …]
|
/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/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 | 368 const unsigned sampler_index = params->sampler_index; in lp_llvm_sampler_soa_emit_fetch_texel() local 370 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/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 158 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block() 159 tex->texture_index = tex->sampler_index = u_v_samp; in lower_tex_src_plane_block()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 72 return (BITFIELD_BIT(tex->sampler_index) & (*nonseamless_cube_mask)) != 0; in lower_cubemap_to_array_filter() 157 array_tex->sampler_index = tex->sampler_index; in create_array_tex_from_cube_tex() 425 txl->sampler_index = tex->sampler_index; in lower_tex_to_txl()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_vulkan_resource.c | 206 value += binding->stage[stage].sampler_index; in lower_vri_instr_tex_deref() 221 tex->sampler_index = value; in lower_vri_instr_tex_deref() 372 value += binding->stage[shader->info.stage].sampler_index; in lvp_lower_pipeline_layout()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.h | 184 const unsigned sampler_index, 205 const unsigned sampler_index,
|
D | tgsi_transform.h | 555 unsigned sampler_index) in tgsi_transform_tex_inst() argument 570 tgsi_transform_src_reg_xyzw(&inst.Src[1], TGSI_FILE_SAMPLER, sampler_index); in tgsi_transform_tex_inst()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 422 key->tex[i].sampler_index = i; in svga_init_shader_key_common() 451 key->tex[i].sampler_index = next_index; in svga_init_shader_key_common() 462 key->tex[i].sampler_index = key->tex[j].sampler_index; in svga_init_shader_key_common()
|
/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/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/broadcom/vulkan/ |
D | v3dv_private.h | 1909 uint32_t sampler_index) in v3dv_pipeline_combined_index_key_create() argument 1911 return texture_index << 24 | sampler_index; in v3dv_pipeline_combined_index_key_create() 1917 uint32_t *sampler_index) in v3dv_pipeline_combined_index_key_unpack() argument 1925 if (sampler_index) in v3dv_pipeline_combined_index_key_unpack() 1926 *sampler_index = sampler; in v3dv_pipeline_combined_index_key_unpack()
|
/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/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.h | 109 unsigned sampler_index; member 586 unsigned sampler_index,
|
D | lp_bld_sample_soa.c | 2526 unsigned sampler_index, in lp_build_sample_common() argument 2614 sampler_index); in lp_build_sample_common() 2619 lp_build_lod_selector(bld, is_lodq, texture_index, sampler_index, in lp_build_sample_common() 3298 unsigned sampler_index, in lp_build_sample_soa_code() argument 3704 lp_build_sample_common(&bld, op_is_lodq, texture_index, sampler_index, in lp_build_sample_soa_code() 3733 lp_build_sample_aos(&bld, sampler_index, in lp_build_sample_soa_code() 3740 lp_build_sample_general(&bld, sampler_index, in lp_build_sample_soa_code() 3873 lp_build_sample_aos(&bld4, sampler_index, in lp_build_sample_soa_code() 3889 lp_build_sample_general(&bld4, sampler_index, in lp_build_sample_soa_code() 3961 unsigned sampler_index, in lp_build_sample_gen_func() argument [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
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/intel/compiler/ |
D | brw_vec4_generator.cpp | 115 struct brw_reg sampler_index) in generate_tex() argument 207 assert(sampler_index.type == BRW_REGISTER_TYPE_UD); in generate_tex() 244 brw_adjust_sampler_state_pointer(p, header, sampler_index); in generate_tex() 275 sampler_index.file == BRW_IMMEDIATE_VALUE) { in generate_tex() 277 uint32_t sampler = sampler_index.ud; in generate_tex() 296 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); in generate_tex()
|