Home
last modified time | relevance | path

Searched refs:chan_index (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c240 unsigned chan_index; in lp_build_tgsi_inst_llvm() local
269 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) { in lp_build_tgsi_inst_llvm()
270 emit_data.output[chan_index] = bld_base->base.undef; in lp_build_tgsi_inst_llvm()
274 TGSI_FOR_EACH_DST1_ENABLED_CHANNEL( inst, chan_index ) { in lp_build_tgsi_inst_llvm()
275 emit_data.output1[chan_index] = bld_base->base.undef; in lp_build_tgsi_inst_llvm()
285 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
286 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index); in lp_build_tgsi_inst_llvm()
290 emit_data.chan = chan_index; in lp_build_tgsi_inst_llvm()
315 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
316 emit_data.output[chan_index] = val; in lp_build_tgsi_inst_llvm()
[all …]
Dlp_bld_tgsi_soa.c771 unsigned chan_index, in get_soa_array_offsets() argument
776 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index); in get_soa_array_offsets()
1675 unsigned chan_index, in emit_store_output() argument
1694 chan_index, in emit_store_output()
1707 chan_index); in emit_store_output()
1711 chan_index + 1); in emit_store_output()
1724 unsigned chan_index, in emit_store_tcs_output() argument
1763 channel_index = lp_build_const_int32(gallivm, chan_index); in emit_store_tcs_output()
1783 unsigned chan_index, in emit_store_temp() argument
1805 chan_index, in emit_store_temp()
[all …]
Dlp_bld_tgsi.h736 const unsigned chan_index);
743 const unsigned chan_index);
751 const unsigned chan_index);
Dlp_bld_nir_soa.c156 unsigned chan_index, in get_soa_array_offsets() argument
161 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index); in get_soa_array_offsets()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_builder.h351 const dst_reg chan_index = in emit_uniformize() local
355 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index); in emit_uniformize()
356 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, src_reg(chan_index)); in emit_uniformize()
Dbrw_fs_builder.h415 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); in emit_uniformize() local
418 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index); in emit_uniformize()
419 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, component(chan_index, 0)); in emit_uniformize()
Dbrw_vec4_visitor.cpp778 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize() local
782 emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, dst_reg(chan_index)) in emit_uniformize()
784 emit(SHADER_OPCODE_BROADCAST, dst, src, chan_index) in emit_uniformize()
Dbrw_fs_nir.cpp4044 const fs_reg &chan_index = in swizzle_nir_scratch_addr() local
4054 bld.OR(addr, addr, chan_index); in swizzle_nir_scratch_addr()
4063 bld.SHL(chan_addr, chan_index, brw_imm_ud(2)); in swizzle_nir_scratch_addr()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c1716 const uint chan_index) in fetch_source_d() argument
1725 swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index ); in fetch_source_d()
1738 const uint chan_index, in fetch_source() argument
1741 fetch_source_d(mach, chan, reg, chan_index); in fetch_source()
1764 uint chan_index, in store_dest_dstret() argument
1893 dst = &mach->Outputs[offset + index].xyzw[chan_index]; in store_dest_dstret()
1911 dst = &mach->Temps[offset + index].xyzw[chan_index]; in store_dest_dstret()
1916 dst = &mach->Addrs[index].xyzw[chan_index]; in store_dest_dstret()
1931 uint chan_index, in store_dest_double() argument
1938 dst = store_dest_dstret(mach, chan, reg, chan_index, dst_datatype); in store_dest_double()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1202 LLVMValueRef chan_index = buffer_index; in handle_vs_input_decl() local
1209 chan_index = LLVMBuildAdd(ctx->ac.builder, in handle_vs_input_decl()
1217 chan_index, in handle_vs_input_decl()