Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c246 unsigned chan_index; in lp_build_tgsi_inst_llvm() local
274 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
275 emit_data.output[chan_index] = bld_base->base.undef; in lp_build_tgsi_inst_llvm()
279 TGSI_FOR_EACH_DST1_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
280 emit_data.output1[chan_index] = bld_base->base.undef; in lp_build_tgsi_inst_llvm()
290 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
291 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index); in lp_build_tgsi_inst_llvm()
295 emit_data.chan = chan_index; in lp_build_tgsi_inst_llvm()
320 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) { in lp_build_tgsi_inst_llvm()
321 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()
1680 unsigned chan_index, in emit_store_output() argument
1699 chan_index, in emit_store_output()
1712 chan_index); in emit_store_output()
1716 chan_index + 1); in emit_store_output()
1729 unsigned chan_index, in emit_store_tcs_output() argument
1768 channel_index = lp_build_const_int32(gallivm, chan_index); in emit_store_tcs_output()
1788 unsigned chan_index, in emit_store_temp() argument
1810 chan_index, in emit_store_temp()
[all …]
Dlp_bld_tgsi.h739 const unsigned chan_index);
746 const unsigned chan_index);
754 const unsigned chan_index);
Dlp_bld_nir_soa.c192 unsigned chan_index, in get_soa_array_offsets() argument
197 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index); in get_soa_array_offsets()
/third_party/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.cpp779 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize() local
783 emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, dst_reg(chan_index)) in emit_uniformize()
785 emit(SHADER_OPCODE_BROADCAST, dst, src, chan_index) in emit_uniformize()
Dbrw_fs_nir.cpp4180 const fs_reg &chan_index = in swizzle_nir_scratch_addr() local
4190 bld.OR(addr, addr, chan_index); in swizzle_nir_scratch_addr()
4199 bld.SHL(chan_addr, chan_index, brw_imm_ud(2)); in swizzle_nir_scratch_addr()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c1595 const uint chan_index) in fetch_source_d() argument
1604 swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index ); in fetch_source_d()
1617 const uint chan_index, in fetch_source() argument
1620 fetch_source_d(mach, chan, reg, chan_index); in fetch_source()
1640 uint chan_index) in store_dest_dstret() argument
1691 dst = &mach->Outputs[offset + index].xyzw[chan_index]; in store_dest_dstret()
1709 dst = &mach->Temps[offset + index].xyzw[chan_index]; in store_dest_dstret()
1715 dst = &mach->Addrs[index].xyzw[chan_index]; in store_dest_dstret()
1729 uint chan_index) in store_dest_double() argument
1735 dst = store_dest_dstret(mach, chan, reg, chan_index); in store_dest_double()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c455 LLVMValueRef chan_index = buffer_index; in load_vs_input() local
461 chan_index = LLVMBuildAdd(ctx->ac.builder, buffer_index, buffer_offset, ""); in load_vs_input()
467 &ctx->ac, t_list, chan_index, LLVMConstInt(ctx->ac.i32, chan_offset, false), in load_vs_input()