Home
last modified time | relevance | path

Searched refs:base_mrf (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp290 gen6_gs_visitor::emit_urb_write_opcode(bool complete, int base_mrf, in emit_urb_write_opcode() argument
310 inst->dst = dst_reg(MRF, base_mrf); in emit_urb_write_opcode()
314 inst->base_mrf = base_mrf; in emit_urb_write_opcode()
315 inst->mlen = align_interleaved_urb_mlen(last_mrf - base_mrf); in emit_urb_write_opcode()
344 int base_mrf = 1; in emit_thread_end() local
372 inst->base_mrf = base_mrf; in emit_thread_end()
388 emit_urb_write_header(base_mrf); in emit_thread_end()
394 int mrf = base_mrf + 1; in emit_thread_end()
428 align_interleaved_urb_mlen(mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_thread_end()
435 emit_urb_write_opcode(complete, base_mrf, mrf, urb_offset); in emit_thread_end()
[all …]
Dbrw_vec4_generator.cpp39 inst->base_mrf, in generate_math1_gen4()
95 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gen4()
101 inst->base_mrf, in generate_math2_gen4()
222 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD); in generate_tex()
284 inst->base_mrf, in generate_tex()
323 if (inst->base_mrf != -1) in generate_tex()
324 gen6_resolve_implied_move(p, &src, inst->base_mrf); in generate_tex()
350 inst->base_mrf, /* starting mrf reg nr */ in generate_vs_urb_write()
362 struct brw_reg src = brw_message_reg(inst->base_mrf); in generate_gs_urb_write()
365 inst->base_mrf, /* starting mrf reg nr */ in generate_gs_urb_write()
[all …]
Dbrw_vec4_gs_visitor.cpp215 int base_mrf = 1; in emit_thread_end() local
235 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end()
244 inst->base_mrf = base_mrf; in emit_thread_end()
357 int base_mrf = 1; in emit_control_data_bits() local
358 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits()
396 dst_reg mrf_reg2(MRF, base_mrf + 1); in emit_control_data_bits()
408 inst->base_mrf = base_mrf; in emit_control_data_bits()
Dbrw_vec4_visitor.cpp55 this->base_mrf = 0; in vec4_instruction()
261 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen) + 1; in SCRATCH_READ()
275 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen); in SCRATCH_WRITE()
360 math->base_mrf = 1; in emit_math()
829 pull->base_mrf = FIRST_PULL_LOAD_MRF(devinfo->gen) + 1; in emit_pull_constant_load_reg()
861 inst->base_mrf = 2; in emit_mcs_fetch()
871 dst_reg(MRF, inst->base_mrf)); in emit_mcs_fetch()
877 param_base = inst->base_mrf + 1; in emit_mcs_fetch()
880 param_base = inst->base_mrf; in emit_mcs_fetch()
967 inst->base_mrf = 2; in emit_texture()
[all …]
Dbrw_schedule_instructions.cpp1022 if (inst->base_mrf != -1) { in calculate_deps()
1028 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1087 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1089 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1090 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1148 if (inst->base_mrf != -1) { in calculate_deps()
1154 add_dep(n, last_mrf_write[inst->base_mrf + i], 2); in calculate_deps()
1210 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1212 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1279 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
[all …]
Dbrw_fs_generator.cpp321 if (inst->base_mrf >= 0) in generate_fb_write()
322 payload = brw_message_reg(inst->base_mrf); in generate_fb_write()
716 inst->base_mrf, in generate_get_buffer_size()
954 assert(inst->base_mrf != -1); in generate_tex()
955 struct brw_reg header_reg = brw_message_reg(inst->base_mrf); in generate_tex()
987 inst->base_mrf, in generate_tex()
1194 brw_MOV(p, brw_uvec_mrf(lower_size, inst->base_mrf + 1, 0), in generate_scratch_write()
1197 brw_oword_block_write_scratch(p, brw_message_reg(inst->base_mrf), in generate_scratch_write()
1211 brw_oword_block_read_scratch(p, dst, brw_message_reg(inst->base_mrf), in generate_scratch_read()
1240 brw_oword_block_read(p, dst, brw_message_reg(inst->base_mrf), in generate_uniform_pull_constant_load()
[all …]
Dbrw_vec4_tcs.cpp150 inst->base_mrf = 14; in emit_thread_end()
176 inst->base_mrf = -1; in emit_input_urb_read()
208 read->base_mrf = -1; in emit_output_urb_read()
240 inst->base_mrf = -1; in emit_urb_write()
Dgen6_gs_visitor.h60 int base_mrf,
Dbrw_vec4_cse.cpp127 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_fs_cse.cpp189 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_fs.cpp62 this->base_mrf = -1; in init()
239 base_mrf == inst->base_mrf && in equals()
955 if (inst->base_mrf == -1) in implied_mrf_writes()
2925 if (scan_inst->mlen > 0 && scan_inst->base_mrf != -1 && in compute_to_mrf()
2926 regions_overlap(fs_reg(MRF, scan_inst->base_mrf), scan_inst->mlen * REG_SIZE, in compute_to_mrf()
3057 int base_mrf = 0; in emit_repclear_shader() local
3058 int color_mrf = base_mrf + 2; in emit_repclear_shader()
3079 write->base_mrf = color_mrf; in emit_repclear_shader()
3088 write->base_mrf = base_mrf; in emit_repclear_shader()
3144 if (inst->mlen > 0 && inst->base_mrf != -1) { in remove_duplicate_mrf_writes()
[all …]
Dbrw_fs_reg_allocate.cpp490 mrf_used[inst->base_mrf + i] = true; in get_used_mrfs()
779 unspill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_unspill()
802 spill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_spill()
Dbrw_shader.h156 int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */ member
Dbrw_fs_visitor.cpp107 write->base_mrf = 2; in emit_dummy_fs()
111 write->base_mrf = 0; in emit_dummy_fs()
Dbrw_vec4_builder.h612 inst->base_mrf = 1; in fix_math_instruction()
Dbrw_fs_bank_conflicts.cpp565 const unsigned reg = GEN7_MRF_HACK_START + inst->base_mrf + i; in shader_reg_constraints()
Dbrw_inst.h508 FC(base_mrf, 27, 24, devinfo->gen < 6);
Dbrw_vec4_nir.cpp460 inst->base_mrf = 2; in nir_emit_intrinsic()
466 int param_base = inst->base_mrf; in nir_emit_intrinsic()
Dbrw_vec4.cpp1358 if (inst->dst.nr >= scan_inst->base_mrf && in opt_register_coalesce()
1359 inst->dst.nr < scan_inst->base_mrf + scan_inst->mlen) { in opt_register_coalesce()