Home
last modified time | relevance | path

Searched refs:tex_instr (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c78 nir_tex_instr *tex_instr = nir_instr_as_tex(instr); in brw_nir_clamp_image_1d_2d_array_sizes_instr() local
79 if (tex_instr->op != nir_texop_txs) in brw_nir_clamp_image_1d_2d_array_sizes_instr()
82 if (!tex_instr->is_array) in brw_nir_clamp_image_1d_2d_array_sizes_instr()
85 image_size = &tex_instr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes_instr()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp634 bool AssemblyFromShaderLegacyImpl::visit(const TexInstruction & tex_instr) in visit() argument
637 auto addr = tex_instr.sampler_offset(); in visit()
649 if (tex_fetch_results.find(tex_instr.src().sel()) != in visit()
657 tex.op = tex_instr.opcode(); in visit()
658 tex.sampler_id = tex_instr.sampler_id() + sampler_offset; in visit()
659 tex.resource_id = tex_instr.resource_id() + sampler_offset; in visit()
660 tex.src_gpr = tex_instr.src().sel(); in visit()
661 tex.dst_gpr = tex_instr.dst().sel(); in visit()
662 tex.dst_sel_x = tex_instr.dest_swizzle(0); in visit()
663 tex.dst_sel_y = tex_instr.dest_swizzle(1); in visit()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fmask_expand.c56 nir_tex_instr *tex_instr[8]; in build_fmask_expand_compute_shader() local
58 tex_instr[i] = nir_tex_instr_create(b.shader, 3); in build_fmask_expand_compute_shader()
60 nir_tex_instr *tex = tex_instr[i]; in build_fmask_expand_compute_shader()
82 nir_ssa_def *outval = &tex_instr[i]->dest.ssa; in build_fmask_expand_compute_shader()
Dradv_meta_bufimage.c582 nir_tex_instr *tex_instr[8]; in build_nir_itoi_compute_shader() local
584 tex_instr[i] = nir_tex_instr_create(b.shader, is_multisampled ? 4 : 3); in build_nir_itoi_compute_shader()
586 nir_tex_instr *tex = tex_instr[i]; in build_nir_itoi_compute_shader()
613 nir_ssa_def *outval = &tex_instr[i]->dest.ssa; in build_nir_itoi_compute_shader()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c545 nir_tex_instr *tex_instr = nir_instr_as_tex(instr); in add_var_use_shader() local
547 nir_tex_instr_src_index(tex_instr, in add_var_use_shader()
550 nir_tex_instr_src_index(tex_instr, in add_var_use_shader()
555 nir_src_as_deref(tex_instr->src[sampler_idx].src); in add_var_use_shader()
561 nir_src_as_deref(tex_instr->src[texture_idx].src); in add_var_use_shader()
Dglsl_to_nir.cpp1722 nir_tex_instr *tex_instr; in get_instr_dest() local
1737 tex_instr = nir_instr_as_tex(instr); in get_instr_dest()
1738 return &tex_instr->dest; in get_instr_dest()
/third_party/mesa3d/docs/relnotes/
D21.0.2.rst116 - nir/lower_tex: ignore texture_index if tex_instr has deref src
D21.0.3.rst206 - mesa/st: ignore texture_index if tex_instr has deref src
D21.1.0.rst4673 - nir/lower_tex: ignore texture_index if tex_instr has deref src
4675 - mesa/st: ignore texture_index if tex_instr has deref src
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4359 nir_tex_instr *tex_instr = nir_instr_as_tex(instr); in get_sampler_desc_internal() local
4360 int sampSrcIdx = nir_tex_instr_src_index(tex_instr, nir_tex_src_sampler_handle); in get_sampler_desc_internal()
4364 index = get_src(ctx, tex_instr->src[sampSrcIdx].src); in get_sampler_desc_internal()
4366 assert(tex_instr && !image); in get_sampler_desc_internal()
4367 base_index = tex_instr->sampler_index; in get_sampler_desc_internal()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5750 enum aco_descriptor_type desc_type, const nir_tex_instr* tex_instr, bool write) in get_sampler_desc() argument
5764 assert(tex_instr); in get_sampler_desc()
5766 base_index = tex_instr->sampler_index; in get_sampler_desc()
5855 uint32_t dword0_mask = tex_instr->op == nir_texop_tg4 ? C_008F30_TRUNC_COORD : 0xffffffffu; in get_sampler_desc()
5881 Temp desc2 = get_sampler_desc(ctx, deref_instr, ACO_DESC_PLANE_1, tex_instr, write); in get_sampler_desc()
5889 } else if (desc_type == ACO_DESC_IMAGE && ctx->options->has_image_load_dcc_bug && !tex_instr && in get_sampler_desc()
5909 } else if (desc_type == ACO_DESC_SAMPLER && tex_instr->op == nir_texop_tg4) { in get_sampler_desc()