/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_emitinstruction.cpp | 48 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 …]
|
D | sfn_emitssboinstruction.cpp | 129 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic() 156 PValue uav_id = from_nir(instr->src[0], 0); in emit_unary_atomic() 319 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_inc() 332 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_pre_dec() 348 auto addr = from_nir(instr->src[1], 0); in emit_load_ssbo() 372 , from_nir(instr->src[0], 0), in emit_load_ssbo() 388 auto orig_addr = from_nir(instr->src[2], 0); in emit_store_ssbo() 394 auto rat_id = from_nir(instr->src[1], 0); in emit_store_ssbo() 414 …emit_instruction(new AluInstruction(op1_mov, temp2.reg_i(0), from_nir(instr->src[0], i), get_chip_… in emit_store_ssbo() 437 image_offset = from_nir(intrin->src[0], 0); in emit_image_store() [all …]
|
D | sfn_emitinstruction.h | 55 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);
|
D | sfn_emitaluinstruction.cpp | 222 m_src[i][c] = from_nir(instr.src[i], c); in preload_src() 229 m_src[1][3] = from_nir(instr.src[1], 3); in preload_src() 293 ir = new AluInstruction(op2_cube, from_nir(instr.dest, i), in emit_cube() 294 from_nir(instr.src[0], src0_chan[i]), in emit_cube() 295 from_nir(instr.src[0], src1_chan[i]), {alu_write}); in emit_cube() 356 ir = new AluInstruction(op1_not_int, from_nir(instr.dest, i), in emit_alu_inot() 371 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_op1() 420 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_trans_op1() 433 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_trans_op1() 455 ir = new AluInstruction(opcode, from_nir(instr.dest, i), in emit_alu_cm_trig() [all …]
|
D | sfn_valuepool.cpp | 54 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 …]
|
D | sfn_valuepool.h | 95 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);
|
D | sfn_shader_base.cpp | 473 auto value = from_nir(if_stmt->condition, 0, 0); in emit_if_start() 584 auto address = from_nir(instr->src[0], 0); in emit_atomic_local_shared() 585 auto dest_value = from_nir(instr->dest, 0); in emit_atomic_local_shared() 586 auto value = from_nir(instr->src[1], 0); in emit_atomic_local_shared() 590 auto value2 = from_nir(instr->src[2], 0); in emit_atomic_local_shared() 603 auto address = from_nir(instr->src[1], 0); in emit_store_local_shared() 607 auto value = from_nir(instr->src[0], swizzle_base); in emit_store_local_shared() 611 auto value1 = from_nir(instr->src[0], swizzle_base + 1); in emit_store_local_shared() 730 auto ir = new AluInstruction(op1_mov, from_nir(dest, 0), value, {alu_write}); in load_preloaded_value() 742 PValue address = from_nir(instr->src[1], 0, 0); in emit_store_scratch() [all …]
|
D | sfn_emittexinstruction.cpp | 205 {src.coord.reg_i(i), from_nir(*src.offset, i, i)}, {alu_write}); in emit_tex_txf() 317 dst_elms[i] = from_nir(instr->dest, (i < instr->dest.ssa.num_components) ? i : 7); in emit_tex_txs() 514 {src.coord.reg_i(i), from_nir(*src.offset, i, i)}, {alu_write}); in emit_tex_txf_ms() 539 src.bias = from_nir(instr.src[i], 0); in get_inputs() 548 src.comperator = from_nir(instr.src[i], 0); in get_inputs() 578 src.ms_index = from_nir(instr.src[i], 0); in get_inputs() 581 src.texture_offset = from_nir(instr.src[i], 0); in get_inputs() 584 src.sampler_offset = from_nir(instr.src[i], 0); in get_inputs() 603 dst_elms[i] = from_nir(instr.dest, (i < num_dest_components) ? i : 7); in make_dest() 616 dst_elms[i] = from_nir(instr.dest, (k < num_dest_components) ? k : 7); in make_dest()
|
D | sfn_shader_vertex.cpp | 210 auto address = from_nir(instr->src[1], 0); in emit_store_local_shared() 214 auto value = from_nir(instr->src[0], swizzle_base); in emit_store_local_shared() 218 auto value1 = from_nir(instr->src[0], swizzle_base + 1); in emit_store_local_shared()
|
D | sfn_shader_compute.cpp | 95 dest.set_reg_i(i, from_nir(instr->dest, i)); in emit_load_num_workgroups() 96 dest.set_reg_i(3, from_nir(instr->dest, 7)); in emit_load_num_workgroups()
|
D | sfn_shader_fragment.cpp | 475 auto dest = from_nir(instr->dest, 0); in emit_load_sample_mask_in() 567 Interpolator ip = {true, 0, from_nir(instr->src[0], 0), from_nir(instr->src[0], 1)}; in emit_load_interpolated_input() 598 …ir = new AluInstruction(op1_mov, from_nir(instr->dest, i), dst[i + nir_intrinsic_component(instr)]… in emit_load_interpolated_input() 634 PValue ofs_x = from_nir(instr->src[0], 0); in load_barycentric_at_offset() 635 PValue ofs_y = from_nir(instr->src[0], 1); in load_barycentric_at_offset() 638 …emit_instruction(new AluInstruction(op3_muladd, from_nir(instr->dest, 0), help.reg_i(3), ofs_y, he… in load_barycentric_at_offset() 639 …emit_instruction(new AluInstruction(op3_muladd, from_nir(instr->dest, 1), help.reg_i(2), ofs_y, he… in load_barycentric_at_offset() 683 …emit_instruction(new AluInstruction(op3_muladd, from_nir(instr->dest, 0), {grad.reg_i(3), slope.re… in load_barycentric_at_sample() 684 …emit_instruction(new AluInstruction(op3_muladd, from_nir(instr->dest, 1), {grad.reg_i(2), slope.re… in load_barycentric_at_sample() 749 …ir = new AluInstruction(op1_mov, from_nir(instr->dest, i), dst[i + nir_intrinsic_component(instr)]… in emit_load_input()
|
D | sfn_shader_tess_eval.cpp | 113 m_tess_coord[2] = from_nir(instr->dest, 2); in emit_load_tess_coord()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 611 struct pipe_shader_state from_nir; in i915_create_vs_state() local 622 from_nir.type = PIPE_SHADER_IR_TGSI; in i915_create_vs_state() 623 from_nir.tokens = nir_to_tgsi(s, pipe->screen); in i915_create_vs_state() 624 templ = &from_nir; in i915_create_vs_state()
|