Searched refs:chan_index (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.c240 unsigned chan_index; local in function:lp_build_tgsi_inst_llvm
269 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) {
270 emit_data.output[chan_index] = bld_base->base.undef;
274 TGSI_FOR_EACH_DST1_ENABLED_CHANNEL( inst, chan_index ) {
275 emit_data.output1[chan_index] = bld_base->base.undef;
285 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) {
286 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index);
290 emit_data.chan = chan_index;
315 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) {
316 emit_data.output[chan_index]
339 lp_build_emit_fetch_src(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_src_register * reg,enum tgsi_opcode_type stype,const unsigned chan_index) argument
440 lp_build_emit_fetch(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned src_op,const unsigned chan_index) argument
455 lp_build_emit_fetch_texoffset(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned tex_off_op,const unsigned chan_index) argument
[all...]
H A Dlp_bld_tgsi.h651 const unsigned chan_index);
658 const unsigned chan_index);
666 const unsigned chan_index);
H A Dlp_bld_tgsi_soa.c1160 unsigned chan_index,
1165 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index);
1170 /* index_vec = (indirect_index * 4 + chan_index) * length + offsets */
1801 unsigned chan_index,
1842 emit_dump_reg(gallivm, reg->Register.File, reg->Register.Index, chan_index, value);
1857 chan_index,
1869 chan_index);
1873 chan_index + 1);
1895 chan_index,
1907 temp_ptr = lp_get_temp_ptr_soa(bld, reg->Register.Index, chan_index);
1158 get_soa_array_offsets(struct lp_build_context * uint_bld,LLVMValueRef indirect_index,unsigned chan_index,boolean need_perelement_offset) argument
1797 emit_store_chan(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned index,unsigned chan_index,LLVMValueRef value) argument
1982 unsigned chan_index = u_bit_scan(&writemask); local in function:emit_store
2726 unsigned chan_index; local in function:emit_kill_if
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.c240 unsigned chan_index; local in function:lp_build_tgsi_inst_llvm
269 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL( inst, chan_index ) {
270 emit_data.output[chan_index] = bld_base->base.undef;
274 TGSI_FOR_EACH_DST1_ENABLED_CHANNEL( inst, chan_index ) {
275 emit_data.output1[chan_index] = bld_base->base.undef;
285 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) {
286 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index);
290 emit_data.chan = chan_index;
315 TGSI_FOR_EACH_DST0_ENABLED_CHANNEL(inst, chan_index) {
316 emit_data.output[chan_index]
339 lp_build_emit_fetch_src(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_src_register * reg,enum tgsi_opcode_type stype,const unsigned chan_index) argument
440 lp_build_emit_fetch(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned src_op,const unsigned chan_index) argument
455 lp_build_emit_fetch_texoffset(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned tex_off_op,const unsigned chan_index) argument
[all...]
H A Dlp_bld_tgsi_soa.c771 unsigned chan_index,
776 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index);
781 /* index_vec = (indirect_index * 4 + chan_index) * length + offsets */
1675 unsigned chan_index,
1694 chan_index,
1707 chan_index);
1711 chan_index + 1);
1724 unsigned chan_index,
1763 channel_index = lp_build_const_int32(gallivm, chan_index);
1783 unsigned chan_index,
769 get_soa_array_offsets(struct lp_build_context * uint_bld,LLVMValueRef indirect_index,unsigned chan_index,boolean need_perelement_offset) argument
1671 emit_store_output(struct lp_build_tgsi_context * bld_base,enum tgsi_opcode_type dtype,const struct tgsi_full_dst_register * reg,unsigned index,unsigned chan_index,LLVMValueRef indirect_index,LLVMValueRef value) argument
1720 emit_store_tcs_output(struct lp_build_tgsi_context * bld_base,enum tgsi_opcode_type dtype,const struct tgsi_full_dst_register * reg,unsigned index,unsigned chan_index,LLVMValueRef indirect_index,LLVMValueRef value) argument
1779 emit_store_temp(struct lp_build_tgsi_context * bld_base,enum tgsi_opcode_type dtype,const struct tgsi_full_dst_register * reg,unsigned index,unsigned chan_index,LLVMValueRef indirect_index,LLVMValueRef value) argument
1832 emit_store_address(struct lp_build_tgsi_context * bld_base,enum tgsi_opcode_type dtype,const struct tgsi_full_dst_register * reg,unsigned index,unsigned chan_index,LLVMValueRef indirect_index,LLVMValueRef value) argument
1856 emit_store_chan(struct lp_build_tgsi_context * bld_base,const struct tgsi_full_instruction * inst,unsigned index,unsigned chan_index,LLVMValueRef value) argument
1961 unsigned chan_index = u_bit_scan(&writemask); local in function:emit_store
2723 unsigned chan_index; local in function:emit_kill_if
3479 unsigned chan_index; local in function:load_emit
3498 unsigned chan_index; local in function:load_emit
3617 unsigned chan_index; local in function:store_emit
[all...]
H A Dlp_bld_tgsi.h741 const unsigned chan_index);
748 const unsigned chan_index);
756 const unsigned chan_index);
H A Dlp_bld_nir_soa.c156 unsigned chan_index,
161 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index);
166 /* index_vec = (indirect_index * 4 + chan_index) * length + offsets */
153 get_soa_array_offsets(struct lp_build_context * uint_bld,LLVMValueRef indirect_index,int num_components,unsigned chan_index,bool need_perelement_offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_tgsi_setup.c381 unsigned chan_index,
389 ptr = get_pointer_into_array(ctx, file, chan_index, reg_index, reg_indirect);
397 emit_array_fetch(bld_base, file, TGSI_TYPE_FLOAT, range, chan_index);
406 temp_ptr = ctx->outputs[i + range.First][chan_index];
412 temp_ptr = ctx->temps[(i + range.First) * TGSI_NUM_CHANNELS + chan_index];
791 unsigned chan_index = u_bit_scan(&writemask); local in function:si_llvm_emit_store
792 LLVMValueRef value = dst[chan_index];
794 if (tgsi_type_is_64bit(dtype) && (chan_index == 1 || chan_index == 3))
800 temp_ptr = ctx->addrs[reg->Register.Index][chan_index];
378 store_value_to_array(struct lp_build_tgsi_context * bld_base,LLVMValueRef value,unsigned file,unsigned chan_index,unsigned reg_index,const struct tgsi_ind_register * reg_indirect) argument
[all...]
H A Dsi_shader.c1385 unsigned chan_index; local in function:store_output_tcs
1433 chan_index = u_bit_scan(&writemask);
1434 LLVMValueRef value = dst[chan_index];
1441 lds_store(ctx, chan_index, dw_addr, value);
1444 values[chan_index] = value;
1449 4 * chan_index, 1, 0, true, false);
1457 ctx->invoc0_tess_factors[chan_index]);
1458 } else if (chan_index < 2) {
1460 ctx->invoc0_tess_factors[4 + chan_index]);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_builder.h351 const dst_reg chan_index = local in function:brw::vec4_builder::emit_uniformize
355 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index);
356 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, src_reg(chan_index));
H A Dbrw_fs_builder.h416 /* FIXME: We use a vector chan_index and dst to allow constant and
424 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); local in function:brw::fs_builder::emit_uniformize
427 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index)->flag_subreg = 2;
428 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, component(chan_index, 0));
H A Dbrw_vec4_visitor.cpp847 const src_reg chan_index(this, glsl_type::uint_type); local in function:brw::vec4_visitor::emit_uniformize
851 emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, dst_reg(chan_index))
853 emit(SHADER_OPCODE_BROADCAST, dst, src, chan_index)
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_builder.h351 const dst_reg chan_index = local in function:brw::vec4_builder::emit_uniformize
355 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index);
356 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, src_reg(chan_index));
H A Dbrw_fs_builder.h407 /* FIXME: We use a vector chan_index and dst to allow constant and
415 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); local in function:brw::fs_builder::emit_uniformize
418 ubld.emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, chan_index);
419 ubld.emit(SHADER_OPCODE_BROADCAST, dst, src, component(chan_index, 0));
H A Dbrw_vec4_visitor.cpp778 const src_reg chan_index(this, glsl_type::uint_type); local in function:brw::vec4_visitor::emit_uniformize
782 emit(SHADER_OPCODE_FIND_LIVE_CHANNEL, dst_reg(chan_index))
784 emit(SHADER_OPCODE_BROADCAST, dst, src, chan_index)
H A Dbrw_fs_nir.cpp4167 const fs_reg &chan_index = local in function:fs_visitor::swizzle_nir_scratch_addr
4177 bld.OR(addr, addr, chan_index);
4186 bld.SHL(chan_addr, chan_index, brw_imm_ud(2));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_interp.c463 LLVMValueRef chan_index = lp_build_const_int32(gallivm, chan); local in function:coeffs_init
485 coeff_bld->type, dadxaos, chan_index);
487 coeff_bld->type, dadyaos, chan_index);
493 coeff_bld->type, a0aos, chan_index);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1764 const uint chan_index)
1773 swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index );
1786 const uint chan_index,
1789 fetch_source_d(mach, chan, reg, chan_index);
1812 uint chan_index,
1941 dst = &mach->Outputs[offset + index].xyzw[chan_index];
1959 dst = &mach->Temps[offset + index].xyzw[chan_index];
1964 dst = &mach->Addrs[index].xyzw[chan_index];
1979 uint chan_index,
1986 dst = store_dest_dstret(mach, chan, reg, chan_index, dst_datatyp
1761 fetch_source_d(const struct tgsi_exec_machine * mach,union tgsi_exec_channel * chan,const struct tgsi_full_src_register * reg,const uint chan_index) argument
1783 fetch_source(const struct tgsi_exec_machine * mach,union tgsi_exec_channel * chan,const struct tgsi_full_src_register * reg,const uint chan_index,enum tgsi_exec_datatype src_datatype) argument
1809 store_dest_dstret(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,uint chan_index,enum tgsi_exec_datatype dst_datatype) argument
1976 store_dest_double(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,uint chan_index,enum tgsi_exec_datatype dst_datatype) argument
1997 store_dest(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,const struct tgsi_full_instruction * inst,uint chan_index,enum tgsi_exec_datatype dst_datatype) argument
2046 uint chan_index; local in function:exec_kill_if
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1656 const uint chan_index)
1665 swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index );
1678 const uint chan_index,
1681 fetch_source_d(mach, chan, reg, chan_index);
1701 uint chan_index)
1752 dst = &mach->Outputs[offset + index].xyzw[chan_index];
1770 dst = &mach->Temps[offset + index].xyzw[chan_index];
1776 dst = &mach->Addrs[index].xyzw[chan_index];
1790 uint chan_index)
1796 dst = store_dest_dstret(mach, chan, reg, chan_index);
1653 fetch_source_d(const struct tgsi_exec_machine * mach,union tgsi_exec_channel * chan,const struct tgsi_full_src_register * reg,const uint chan_index) argument
1675 fetch_source(const struct tgsi_exec_machine * mach,union tgsi_exec_channel * chan,const struct tgsi_full_src_register * reg,const uint chan_index,enum tgsi_exec_datatype src_datatype) argument
1698 store_dest_dstret(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,uint chan_index) argument
1787 store_dest_double(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,uint chan_index) argument
1807 store_dest(struct tgsi_exec_machine * mach,const union tgsi_exec_channel * chan,const struct tgsi_full_dst_register * reg,const struct tgsi_full_instruction * inst,uint chan_index) argument
1849 uint chan_index; local in function:exec_kill_if
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c751 LLVMValueRef chan_index = buffer_index; local in function:load_vs_input
757 chan_index = LLVMBuildAdd(ctx->ac.builder, buffer_index, buffer_offset, "");
763 &ctx->ac, t_list, chan_index, LLVMConstInt(ctx->ac.i32, chan_offset, false),

Completed in 90 milliseconds