/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.c | 240 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 …]
|
D | lp_bld_tgsi.h | 651 const unsigned chan_index); 658 const unsigned chan_index); 666 const unsigned chan_index);
|
D | lp_bld_tgsi_soa.c | 1146 unsigned chan_index, in get_soa_array_offsets() argument 1151 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index); in get_soa_array_offsets() 1744 unsigned chan_index, in emit_store_chan() argument 1784 emit_dump_reg(gallivm, reg->Register.File, reg->Register.Index, chan_index, value); in emit_store_chan() 1799 chan_index, in emit_store_chan() 1811 chan_index); in emit_store_chan() 1815 chan_index + 1); in emit_store_chan() 1837 chan_index, in emit_store_chan() 1849 temp_ptr = lp_get_temp_ptr_soa(bld, reg->Register.Index, chan_index); in emit_store_chan() 1854 chan_index + 1); in emit_store_chan() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_setup.c | 437 unsigned chan_index, in store_value_to_array() argument 445 ptr = get_pointer_into_array(ctx, file, chan_index, reg_index, reg_indirect); in store_value_to_array() 453 emit_array_fetch(bld_base, file, TGSI_TYPE_FLOAT, range, chan_index); in store_value_to_array() 462 temp_ptr = ctx->outputs[i + range.First][chan_index]; in store_value_to_array() 468 temp_ptr = ctx->temps[(i + range.First) * TGSI_NUM_CHANNELS + chan_index]; in store_value_to_array() 848 unsigned chan_index = u_bit_scan(&writemask); in si_llvm_emit_store() local 849 LLVMValueRef value = dst[chan_index]; in si_llvm_emit_store() 851 if (tgsi_type_is_64bit(dtype) && (chan_index == 1 || chan_index == 3)) in si_llvm_emit_store() 857 temp_ptr = ctx->addrs[reg->Register.Index][chan_index]; in si_llvm_emit_store() 868 store_value_to_array(bld_base, value, file, chan_index, in si_llvm_emit_store() [all …]
|
D | si_shader.c | 1365 unsigned chan_index; in store_output_tcs() local 1413 chan_index = u_bit_scan(&writemask); in store_output_tcs() 1414 LLVMValueRef value = dst[chan_index]; in store_output_tcs() 1421 lds_store(ctx, chan_index, dw_addr, value); in store_output_tcs() 1424 values[chan_index] = value; in store_output_tcs() 1429 4 * chan_index, 1, 0, true, false); in store_output_tcs() 1437 ctx->invoc0_tess_factors[chan_index]); in store_output_tcs() 1438 } else if (chan_index < 2) { in store_output_tcs() 1440 ctx->invoc0_tess_factors[4 + chan_index]); in store_output_tcs()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_builder.h | 351 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()
|
D | brw_fs_builder.h | 406 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); in emit_uniformize() local 409 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index); in emit_uniformize() 410 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, component(chan_index, 0)); in emit_uniformize()
|
D | brw_vec4_visitor.cpp | 842 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize() local 846 emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, dst_reg(chan_index)) in emit_uniformize() 848 emit(SHADER_OPCODE_BROADCAST, dst, src, chan_index) in emit_uniformize()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 463 LLVMValueRef chan_index = lp_build_const_int32(gallivm, chan); in coeffs_init() local 485 coeff_bld->type, dadxaos, chan_index); in coeffs_init() 487 coeff_bld->type, dadyaos, chan_index); in coeffs_init() 493 coeff_bld->type, a0aos, chan_index); in coeffs_init()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 1480 const uint chan_index, in fetch_src_file_channel() argument 1594 const uint chan_index, in fetch_source_d() argument 1637 chan_index, in fetch_source_d() 1697 chan_index, in fetch_source_d() 1730 swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index ); in fetch_source_d() 1732 chan_index, in fetch_source_d() 1744 const uint chan_index, in fetch_source() argument 1747 fetch_source_d(mach, chan, reg, chan_index, src_datatype); in fetch_source() 1771 uint chan_index, in store_dest_dstret() argument 1811 chan_index, in store_dest_dstret() [all …]
|