Home
last modified time | relevance | path

Searched refs:from_nir (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emitinstruction.cpp48 PValue EmitInstruction::from_nir(const nir_src& v, unsigned component, unsigned swizzled) in from_nir() function in r600::EmitInstruction
50 return m_proc.from_nir(v, component, swizzled); in from_nir()
53 PValue EmitInstruction::from_nir(const nir_alu_src& v, unsigned component) in from_nir() function in r600::EmitInstruction
55 return m_proc.from_nir(v, component); in from_nir()
58 PValue EmitInstruction::from_nir(const nir_tex_src& v, unsigned component) in from_nir() function in r600::EmitInstruction
60 return m_proc.from_nir(v, component); in from_nir()
63 PValue EmitInstruction::from_nir(const nir_alu_dest& v, unsigned component) in from_nir() function in r600::EmitInstruction
65 return m_proc.from_nir(v, component); in from_nir()
68 PValue EmitInstruction::from_nir(const nir_dest& v, unsigned component) in from_nir() function in r600::EmitInstruction
70 return m_proc.from_nir(v, component); in from_nir()
[all …]
Dsfn_emitssboinstruction.cpp124 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic()
149 PValue uav_id = from_nir(instr->src[0], 0); in emit_unary_atomic()
239 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_add()
259 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_inc()
271 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_pre_dec()
287 auto addr = from_nir(instr->src[1], 0); in emit_load_ssbo()
311 , from_nir(instr->src[0], 0), in emit_load_ssbo()
327 auto orig_addr = from_nir(instr->src[2], 0); in emit_store_ssbo()
334 auto rat_id = from_nir(instr->src[1], 0); in emit_store_ssbo()
370 … emit_instruction(new AluInstruction(op1_mov, temp2.reg_i(0), from_nir(instr->src[0], i), write)); in emit_store_ssbo()
[all …]
Dsfn_emitinstruction.h55 PValue from_nir(const nir_src& v, unsigned component, unsigned swizzled);
56 PValue from_nir(const nir_src& v, unsigned component);
57 PValue from_nir(const nir_alu_src& v, unsigned component);
58 PValue from_nir(const nir_tex_src& v, unsigned component);
59 PValue from_nir(const nir_alu_dest& v, unsigned component);
60 PValue from_nir(const nir_dest& v, unsigned component);
Dsfn_valuepool.cpp54 result[i] = from_nir(dst, i < num_components ? i : 7); in vec_from_nir()
62 result[i] = from_nir(dst, i); in varvec_from_nir()
72 result[i] = from_nir(src, i); in varvec_from_nir()
78 PValue ValuePool::from_nir(const nir_src& v, unsigned component, unsigned swizzled) in from_nir() function in r600::ValuePool
93 from_nir(*v.reg.indirect, 0, 0) : nullptr, in from_nir()
134 PValue ValuePool::from_nir(const nir_src& v, unsigned component) in from_nir() function in r600::ValuePool
136 return from_nir(v, component, component); in from_nir()
139 PValue ValuePool::from_nir(const nir_tex_src &v, unsigned component) in from_nir() function in r600::ValuePool
141 return from_nir(v.src, component, component); in from_nir()
144 PValue ValuePool::from_nir(const nir_alu_src &v, unsigned component) in from_nir() function in r600::ValuePool
[all …]
Dsfn_valuepool.h95 PValue from_nir(const nir_src& v, unsigned component, unsigned swizzled);
97 PValue from_nir(const nir_src& v, unsigned component);
103 PValue from_nir(const nir_alu_src& v, unsigned component);
108 PValue from_nir(const nir_tex_src& v, unsigned component);
113 PValue from_nir(const nir_alu_dest& v, unsigned component);
118 PValue from_nir(const nir_dest& v, unsigned component);
Dsfn_emitaluinstruction.cpp213 m_src[i][c] = from_nir(instr.src[i], c); in preload_src()
220 m_src[1][3] = from_nir(instr.src[1], 3); in preload_src()
319 ir = new AluInstruction(op1_not_int, from_nir(instr.dest, i), in emit_alu_inot()
334 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_op1()
382 v[i] = from_nir(instr.dest, i); in emit_alu_trig_op1()
433 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_trans_op1()
446 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_trans_op1()
466 v[i] = from_nir(instr.dest, i); in emit_alu_f2i32_or_u32()
492 ir = new AluInstruction(op2_setne_dx10, from_nir(instr.dest, i), in emit_alu_f2b32()
532 ir = new AluInstruction(op3_cndge_int, from_nir(instr.dest, i), tmp.reg_i(i), in emit_find_msb()
[all …]
Dsfn_shader_base.cpp476 auto value = from_nir(if_stmt->condition, 0, 0); in emit_if_start()
587 auto address = from_nir(instr->src[0], 0); in emit_atomic_local_shared()
588 auto dest_value = from_nir(instr->dest, 0); in emit_atomic_local_shared()
589 auto value = from_nir(instr->src[1], 0); in emit_atomic_local_shared()
593 auto value2 = from_nir(instr->src[2], 0); in emit_atomic_local_shared()
606 auto address = from_nir(instr->src[1], 0); in emit_store_local_shared()
610 auto value = from_nir(instr->src[0], swizzle_base); in emit_store_local_shared()
614 auto value1 = from_nir(instr->src[0], swizzle_base + 1); in emit_store_local_shared()
733 auto ir = new AluInstruction(op1_mov, from_nir(dest, 0), value, {alu_write}); in load_preloaded_value()
745 PValue address = from_nir(instr->src[1], 0, 0); in emit_store_scratch()
[all …]
Dsfn_emittexinstruction.cpp127 v[i] = from_nir(instr->dest, i); in emit_cube_txd()
199 v[i] = from_nir(instr->dest, i); in emit_cube_txl()
240 v[i] = from_nir(instr->dest, i); in emit_cube_lod()
269 v[i] = from_nir(instr->dest, i); in emit_cube_txb()
311 v[i] = from_nir(instr->dest, i); in emit_cube_tex()
512 {src.coord.reg_i(i), from_nir(*src.offset, i, i)}, {alu_write}); in emit_tex_txf()
620 dst_elms[i] = from_nir(instr->dest, (i < instr->dest.ssa.num_components) ? i : 7); in emit_tex_txs()
743 v[i] = from_nir(instr->dest, i); in emit_cube_tg4()
856 {src.coord.reg_i(i), from_nir(*src.offset, i, i)}, {alu_write}); in emit_tex_txf_ms()
881 src.bias = from_nir(instr.src[i], 0); in get_inputs()
[all …]
Dsfn_shader_vertex.cpp184 auto address = from_nir(instr->src[1], 0); in emit_store_local_shared()
188 auto value = from_nir(instr->src[0], swizzle_base); in emit_store_local_shared()
192 auto value1 = from_nir(instr->src[0], swizzle_base + 1); in emit_store_local_shared()
Dsfn_shader_compute.cpp96 dest.set_reg_i(i, from_nir(instr->dest, i)); in emit_load_num_work_groups()
97 dest.set_reg_i(3, from_nir(instr->dest, 7)); in emit_load_num_work_groups()
Dsfn_shader_tess_eval.cpp106 m_tess_coord[2] = from_nir(instr->dest, 2); in load_tess_z_coord()
150 m_tess_coord[2] = from_nir(instr->dest, 2); in emit_load_tess_coord()
Dsfn_shader_fragment.cpp372 auto dest = from_nir(instr->dest, 0); in emit_load_sample_mask_in()
539 PValue ofs_x = from_nir(instr->src[1], 0); in emit_interp_deref_at_offset()
540 PValue ofs_y = from_nir(instr->src[1], 1); in emit_interp_deref_at_offset()