/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_value_gpr.h | 40 class GPRValue : public Value { 42 GPRValue() = default; 43 GPRValue(GPRValue&& orig) = default; 44 GPRValue(const GPRValue& orig) = default; 46 GPRValue(uint32_t sel, uint32_t chan, int base_offset); 48 GPRValue(uint32_t sel, uint32_t chan); 50 GPRValue& operator = (const GPRValue& orig) = default; 51 GPRValue& operator = (GPRValue&& orig) = default; 73 using PGPRValue = std::shared_ptr<GPRValue>;
|
D | sfn_value_gpr.cpp | 37 GPRValue::GPRValue(uint32_t sel, uint32_t chan, int base_offset): in GPRValue() function in r600::GPRValue 47 GPRValue::GPRValue(uint32_t sel, uint32_t chan): in GPRValue() function in r600::GPRValue 57 uint32_t GPRValue::sel() const in sel() 62 void GPRValue::do_print(std::ostream& os) const in do_print() 69 bool GPRValue::is_equal_to(const Value& other) const in is_equal_to() 72 const auto& rhs = static_cast<const GPRValue&>(other); in is_equal_to() 77 void GPRValue::do_print(std::ostream& os, UNUSED const PrintFlags& flags) const in do_print() 115 m_elms[i] = PValue(new GPRValue(sel, swizzle[i])); in GPRVector() 155 auto& v = static_cast<GPRValue&>(*m_elms[i]); in pin_to_channel() 162 auto& c = static_cast<GPRValue&>(*v); in pin_all_to_channel() [all …]
|
D | sfn_shader_tcs.cpp | 63 auto gpr = new GPRValue(0,0); in do_allocate_reserved_registers() 70 auto gpr = new GPRValue(0,2); in do_allocate_reserved_registers() 77 auto gpr = new GPRValue(0,1); in do_allocate_reserved_registers() 84 auto gpr = new GPRValue(0,3); in do_allocate_reserved_registers()
|
D | sfn_shader_vertex.cpp | 95 auto R0x = new GPRValue(0,0); in do_allocate_reserved_registers() 101 auto R0z = new GPRValue(0,2); in do_allocate_reserved_registers() 108 auto R0w = new GPRValue(0,3); in do_allocate_reserved_registers() 116 auto R0y = new GPRValue(0,1); in do_allocate_reserved_registers() 125 auto gpr = std::make_shared<GPRValue>(i + 1, k); in do_allocate_reserved_registers()
|
D | sfn_shader_tess_eval.cpp | 73 auto gpr = new GPRValue(0,0); in do_allocate_reserved_registers() 76 gpr = new GPRValue(0,1); in do_allocate_reserved_registers() 83 auto gpr = new GPRValue(0,2); in do_allocate_reserved_registers() 91 auto gpr = new GPRValue(0,3); in do_allocate_reserved_registers()
|
D | sfn_shader_compute.cpp | 52 auto tmp = new GPRValue(thread_id_sel, i); in do_allocate_reserved_registers() 58 tmp = new GPRValue(wg_id_sel, i); in do_allocate_reserved_registers() 92 PValue a_zero(new GPRValue(temp, 1)); in emit_load_num_work_groups()
|
D | sfn_shader_geometry.cpp | 168 auto reg = new GPRValue(sel[i], chan[i]); in do_allocate_reserved_registers() 173 auto reg = new GPRValue(0, 2); in do_allocate_reserved_registers() 178 reg = new GPRValue(1, 3); in do_allocate_reserved_registers() 196 PValue adjhelp0(new GPRValue(m_export_base->sel(), 1)); in emit_adj_fix() 212 adjhelp[i].reset(new GPRValue(reg_indices[i], reg_chanels[i])); in emit_adj_fix()
|
D | sfn_shader_fragment.cpp | 190 auto ip_i = new GPRValue(sel, chan + 1); in do_allocate_reserved_registers() 195 auto ip_j = new GPRValue(sel, chan); in do_allocate_reserved_registers() 213 m_front_face_reg = std::make_shared<GPRValue>(face_reg_index,0); in do_allocate_reserved_registers() 226 m_sample_mask_reg = std::make_shared<GPRValue>(face_reg_index,2); in do_allocate_reserved_registers() 238 m_sample_id_reg = std::make_shared<GPRValue>(sample_id_index, 3); in do_allocate_reserved_registers() 280 auto v = new GPRValue(m_frag_pos_index, i); in emit_shader_start() 291 auto dummy = PValue(new GPRValue(m_helper_invocation->sel(), 7)); in emit_shader_start() 466 PValue dummy(new GPRValue(interpolator.i->sel(), 0)); in emit_interp_deref_at_sample() 517 PValue dummy(new GPRValue(interpolator.i->sel(), 0)); in emit_interp_deref_at_offset()
|
D | sfn_liverange.cpp | 781 const auto& g = static_cast<const GPRValue&>(*v.second); in run() 816 const GPRValue& v = static_cast<const GPRValue&>(src); in record_read() 836 const GPRValue& v = static_cast<const GPRValue&>(src); in record_write()
|
D | sfn_shader_base.cpp | 220 const auto& g = static_cast<const GPRValue&>(*v.second); in remap_registers() 477 AluInstruction *pred = new AluInstruction(op2_pred_setne_int, PValue(new GPRValue(0,0)), in emit_if_start() 831 v[i] = PValue(new GPRValue(sel, swizzle[i])); in vec_from_nir_with_fetch_constant() 834 v[i] = PValue(new GPRValue(sel, next_free_swizzle)); in vec_from_nir_with_fetch_constant() 948 emit_instruction(new AluInstruction(op2_killne_int, PValue(new GPRValue(0,0)), in emit_discard_if() 952 emit_instruction(new AluInstruction(op2_kille, PValue(new GPRValue(0,0)), in emit_discard_if()
|
D | sfn_valuepool.cpp | 163 return std::make_shared<GPRValue>(current_temp_reg_index, next_temp_reg_comp++); in get_temp_register() 272 auto retval = PValue(new GPRValue(sel, swizzle)); in create_register() 456 m_registers[k] = PValue(new GPRValue(index, i)); in allocate_local_register()
|
D | sfn_vertexstageexport.cpp | 255 PValue o(new GPRValue(0,PIPE_SWIZZLE_0)); in finalize_exports() 338 PValue dst(new GPRValue(tmp_index, j)); in emit_stream() 347 PValue dst_blank(new GPRValue(tmp_index, 7)); in emit_stream()
|
D | sfn_valuepool.h | 51 insert(PValue(new GPRValue(index, chan))); in get_or_inject()
|
D | sfn_emitaluinstruction.cpp | 935 v0_temp[i] = PValue(new GPRValue(src0_tmp, i)); in emit_alu_op2_split_src_mods() 953 v1_temp[i] = PValue(new GPRValue(src1_tmp, i)); in emit_alu_op2_split_src_mods() 1167 PValue asrc1(new GPRValue(sel_tmp, 0)); in emit_alu_div_int() 1168 PValue asrc2(new GPRValue(sel_tmp, 1)); in emit_alu_div_int() 1169 PValue rsign(new GPRValue(sel_tmp, 2)); in emit_alu_div_int() 1170 PValue err(new GPRValue(sel_tmp, 3)); in emit_alu_div_int() 1349 tmp[i] = PValue(new GPRValue(itmp, i)); in emit_bitfield_extract()
|
D | sfn_emitssboinstruction.cpp | 591 emit_instruction(new FetchInstruction(dest, PValue(new GPRValue(0, 7)), in emit_image_size() 633 emit_instruction(new FetchInstruction(dst, PValue(new GPRValue(0, 7)), in emit_buffer_size()
|
D | sfn_instruction_fetch.cpp | 221 m_src.reset(new GPRValue(0,0));
|
D | sfn_emittexinstruction.cpp | 626 emit_instruction(new FetchInstruction(dst, PValue(new GPRValue(0, 7)), in emit_tex_txs() 798 PValue help(new GPRValue(sample_id, 1)); in emit_tex_txf_ms()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 1971 - r600/sfn: Rework get_temp_register to return a smart pointer to GPRValue 4621 - r600/sfn: Initialize GPRValue member m_pin_to_channel.
|