Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c89 nir_tex_instr *tex_instr = nir_instr_as_tex(instr); in brw_nir_clamp_image_1d_2d_array_sizes() local
90 if (tex_instr->op != nir_texop_txs) in brw_nir_clamp_image_1d_2d_array_sizes()
93 if (!tex_instr->is_array) in brw_nir_clamp_image_1d_2d_array_sizes()
96 image_size = &tex_instr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp53 bool emit_tex(const TexInstruction & tex_instr);
645 bool AssemblyFromShaderLegacyImpl::emit_tex(const TexInstruction & tex_instr) in emit_tex() argument
647 auto addr = tex_instr.sampler_offset(); in emit_tex()
681 tex.op = tex_instr.opcode(); in emit_tex()
682 tex.sampler_id = tex_instr.sampler_id(); in emit_tex()
684 tex.resource_id = tex_instr.resource_id();; in emit_tex()
686 tex.src_gpr = tex_instr.src().sel(); in emit_tex()
687 tex.dst_gpr = tex_instr.dst().sel(); in emit_tex()
688 tex.dst_sel_x = tex_instr.dest_swizzle(0); in emit_tex()
689 tex.dst_sel_y = tex_instr.dest_swizzle(1); in emit_tex()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_opt_dce.c57 nir_tex_instr *tex_instr; in init_instr() local
97 tex_instr = nir_instr_as_tex(instr); in init_instr()
98 if (!tex_instr->dest.is_ssa) in init_instr()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_fmask_expand.c72 nir_tex_instr *tex_instr[8]; in build_fmask_expand_compute_shader() local
74 tex_instr[i] = nir_tex_instr_create(b.shader, 3); in build_fmask_expand_compute_shader()
76 nir_tex_instr *tex = tex_instr[i]; in build_fmask_expand_compute_shader()
94 nir_ssa_def *outval = &tex_instr[i]->dest.ssa; in build_fmask_expand_compute_shader()
/external/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.cpp1737 nir_tex_instr *tex_instr; in get_instr_dest() local
1752 tex_instr = nir_instr_as_tex(instr); in get_instr_dest()
1753 return &tex_instr->dest; in get_instr_dest()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3871 nir_tex_instr *tex_instr = nir_instr_as_tex(instr); in get_sampler_desc_internal() local
3872 int sampSrcIdx = nir_tex_instr_src_index(tex_instr, nir_tex_src_sampler_handle); in get_sampler_desc_internal()
3876 index = get_src(ctx, tex_instr->src[sampSrcIdx].src); in get_sampler_desc_internal()
3878 assert(tex_instr && !image); in get_sampler_desc_internal()
3879 base_index = tex_instr->sampler_index; in get_sampler_desc_internal()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5436 const nir_tex_instr *tex_instr, bool image, bool write) in get_sampler_desc() argument
5451 assert(tex_instr && !image); in get_sampler_desc()
5453 base_index = tex_instr->sampler_index; in get_sampler_desc()
5569 Temp desc2 = get_sampler_desc(ctx, deref_instr, ACO_DESC_PLANE_1, tex_instr, image, write); in get_sampler_desc()