/external/mesa3d/src/intel/compiler/ |
D | brw_reg.h | 216 struct brw_reg { struct 252 brw_regs_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_equal() argument 343 static inline struct brw_reg 344 brw_reg(enum brw_reg_file file, in brw_reg() function 356 struct brw_reg reg; in brw_reg() 392 static inline struct brw_reg 395 return brw_reg(file, in brw_vec16_reg() 409 static inline struct brw_reg 412 return brw_reg(file, in brw_vec8_reg() 426 static inline struct brw_reg [all …]
|
D | brw_eu.h | 134 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest); 135 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg); 138 struct brw_reg *src, 145 struct brw_reg dest, \ 146 struct brw_reg src0); 150 struct brw_reg dest, \ 151 struct brw_reg src0, \ 152 struct brw_reg src1); 156 struct brw_reg dest, \ 157 struct brw_reg src0, \ [all …]
|
D | brw_clip.h | 52 struct brw_reg R0; 53 struct brw_reg vertex[MAX_VERTS]; 55 struct brw_reg t; 56 struct brw_reg t0, t1; 57 struct brw_reg dp0, dp1; 59 struct brw_reg dpPrev; 60 struct brw_reg dp; 61 struct brw_reg loopcount; 62 struct brw_reg nr_verts; 63 struct brw_reg planemask; [all …]
|
D | brw_fs.h | 278 struct brw_reg interp_reg(int location, int channel); 402 struct brw_reg payload, 403 struct brw_reg implied_header, 405 void generate_fb_write(fs_inst *inst, struct brw_reg payload); 406 void generate_fb_read(fs_inst *inst, struct brw_reg dst, 407 struct brw_reg payload); 408 void generate_urb_read(fs_inst *inst, struct brw_reg dst, struct brw_reg payload); 409 void generate_urb_write(fs_inst *inst, struct brw_reg payload); 410 void generate_cs_terminate(fs_inst *inst, struct brw_reg payload); 411 void generate_barrier(fs_inst *inst, struct brw_reg src); [all …]
|
D | brw_shader.h | 42 struct backend_reg : private brw_reg 45 backend_reg(const struct brw_reg ®) : brw_reg(reg) {} in backend_reg() 47 const brw_reg &as_brw_reg() const in as_brw_reg() 51 return static_cast<const brw_reg &>(*this); in as_brw_reg() 54 brw_reg &as_brw_reg() in as_brw_reg() 58 return static_cast<brw_reg &>(*this); in as_brw_reg() 72 using brw_reg::type; 73 using brw_reg::file; 74 using brw_reg::negate; 75 using brw_reg::abs; [all …]
|
D | test_eu_compact.cpp | 175 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_ADD_GRF_GRF_GRF() 176 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_ADD_GRF_GRF_GRF() 177 struct brw_reg g4 = brw_vec8_grf(4, 0); in gen_ADD_GRF_GRF_GRF() 185 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_ADD_GRF_GRF_IMM() 186 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_ADD_GRF_GRF_IMM() 194 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_D); in gen_ADD_GRF_GRF_IMM_d() 195 struct brw_reg g2 = retype(brw_vec8_grf(2, 0), BRW_REGISTER_TYPE_D); in gen_ADD_GRF_GRF_IMM_d() 203 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_MOV_GRF_GRF() 204 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_MOV_GRF_GRF() 212 struct brw_reg m6 = brw_vec8_reg(BRW_MESSAGE_REGISTER_FILE, 6, 0); in gen_ADD_MRF_GRF_GRF() [all …]
|
D | brw_fs_generator.cpp | 55 static struct brw_reg 59 struct brw_reg brw_reg; in brw_reg_from_fs_reg() local 67 brw_reg = brw_vec1_reg(brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 94 brw_reg = brw_vecn_reg(width, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 95 brw_reg = stride(brw_reg, width * reg->stride, width, reg->stride); in brw_reg_from_fs_reg() 120 brw_reg.width++; in brw_reg_from_fs_reg() 121 if (brw_reg.vstride > 0) in brw_reg_from_fs_reg() 122 brw_reg.vstride++; in brw_reg_from_fs_reg() 123 assert(brw_reg.hstride == BRW_HORIZONTAL_STRIDE_1); in brw_reg_from_fs_reg() 134 assert(brw_reg.hstride > BRW_HORIZONTAL_STRIDE_1); in brw_reg_from_fs_reg() [all …]
|
D | brw_vec4_generator.cpp | 33 struct brw_reg dst, in generate_math1_gen4() 34 struct brw_reg src) in generate_math1_gen4() 45 check_gen6_math_src_arg(struct brw_reg src) in check_gen6_math_src_arg() 56 struct brw_reg dst, in generate_math_gen6() 57 struct brw_reg src0, in generate_math_gen6() 58 struct brw_reg src1) in generate_math_gen6() 75 struct brw_reg dst, in generate_math2_gen4() 76 struct brw_reg src0, in generate_math2_gen4() 77 struct brw_reg src1) in generate_math2_gen4() 89 struct brw_reg &op0 = is_int_div ? src1 : src0; in generate_math2_gen4() [all …]
|
D | brw_eu_emit.c | 47 struct brw_reg *src, in gen6_resolve_implied_move() 70 gen7_convert_mrf_to_grf(struct brw_codegen *p, struct brw_reg *reg) in gen7_convert_mrf_to_grf() 88 brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest) in brw_set_dest() 167 brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src0() 274 brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src1() 643 struct brw_reg dest, struct brw_reg src) in brw_alu1() 653 struct brw_reg dest, struct brw_reg src0, struct brw_reg src1) in brw_alu2() 667 get_3src_subreg_nr(struct brw_reg reg) in get_3src_subreg_nr() 713 brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest, in brw_alu3() 714 struct brw_reg src0, struct brw_reg src1, struct brw_reg src2) in brw_alu3() [all …]
|
D | brw_compile_sf.c | 34 struct brw_reg pv; 35 struct brw_reg det; 36 struct brw_reg dx0; 37 struct brw_reg dx2; 38 struct brw_reg dy0; 39 struct brw_reg dy2; 43 struct brw_reg z[3]; 44 struct brw_reg inv_w[3]; 48 struct brw_reg vert[3]; 52 struct brw_reg inv_det; [all …]
|
D | brw_eu_util.c | 38 struct brw_reg dst, in brw_math_invert() 39 struct brw_reg src) in brw_math_invert() 52 struct brw_reg dst, in brw_copy4() 53 struct brw_reg src, in brw_copy4() 71 struct brw_reg dst, in brw_copy8() 72 struct brw_reg src, in brw_copy8() 105 struct brw_reg dst, in brw_copy_from_indirect()
|
D | brw_clip_util.c | 40 struct brw_reg get_tmp( struct brw_clip_compile *c ) in get_tmp() 42 struct brw_reg tmp = brw_vec4_grf(c->last_tmp, 0); in get_tmp() 50 static void release_tmp( struct brw_clip_compile *c, struct brw_reg tmp ) in release_tmp() 57 static struct brw_reg make_plane_ud(GLuint x, GLuint y, GLuint z, GLuint w) in make_plane_ud() 83 void brw_clip_project_position(struct brw_clip_compile *c, struct brw_reg pos ) in brw_clip_project_position() 104 struct brw_reg tmp = get_tmp(c); in brw_clip_project_vertex() 131 struct brw_reg t0, in brw_clip_interp_vertex() 135 struct brw_reg t_nopersp, v0_ndc_copy; in brw_clip_interp_vertex() 166 struct brw_reg tmp = get_tmp(c); in brw_clip_interp_vertex() 182 struct brw_reg tmp = get_tmp(c); in brw_clip_interp_vertex() [all …]
|
D | brw_clip_unfilled.c | 46 struct brw_reg e = c->reg.tmp0; in compute_tri_direction() 47 struct brw_reg f = c->reg.tmp1; in compute_tri_direction() 49 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction() 50 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction() 51 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction() 54 struct brw_reg v0n = get_tmp(c); in compute_tri_direction() 55 struct brw_reg v1n = get_tmp(c); in compute_tri_direction() 56 struct brw_reg v2n = get_tmp(c); in compute_tri_direction() 197 struct brw_reg off = c->reg.offset; in compute_offset() 198 struct brw_reg dir = c->reg.dir; in compute_offset() [all …]
|
D | brw_clip_tri.c | 137 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_init_vertices() 177 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_flat_shade() 229 struct brw_reg dst, GLuint hpos_offset, int cond) in load_clip_distance() 517 struct brw_reg t = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 518 struct brw_reg t1 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 519 struct brw_reg t2 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 520 struct brw_reg t3 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 522 struct brw_reg v0 = get_tmp(c); in brw_clip_test() 523 struct brw_reg v1 = get_tmp(c); in brw_clip_test() 524 struct brw_reg v2 = get_tmp(c); in brw_clip_test() [all …]
|
D | brw_fs_visitor.cpp | 138 struct brw_reg 155 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gen4() 205 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gen6() 776 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
|
D | brw_vec4_gs_visitor.cpp | 56 static inline struct brw_reg 59 struct brw_reg reg; in attribute_to_hw_reg() 109 struct brw_reg reg = in setup_varying_inputs()
|
D | brw_ir_vec4.h | 43 src_reg(struct ::brw_reg reg); 162 dst_reg(struct ::brw_reg reg);
|
D | brw_shader.cpp | 500 brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_saturate_immediate() 561 brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_negate_immediate() 599 brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_abs_immediate()
|
D | brw_vec4.cpp | 69 src_reg::src_reg(struct ::brw_reg reg) : in src_reg() 127 dst_reg::dst_reg(struct ::brw_reg reg) : in dst_reg() 1746 struct brw_reg reg = brw_vec8_grf(grf, 0); in setup_attributes() 1844 src_reg ts = src_reg(brw_reg(BRW_ARCHITECTURE_REGISTER_FILE, in get_timestamp() 1979 struct brw_reg reg; in convert_to_hw_regs() 2059 struct brw_reg reg; in convert_to_hw_regs() 2516 vec4_visitor::apply_logical_swizzle(struct brw_reg *hw_reg, in apply_logical_swizzle()
|
D | brw_vec4_tes.cpp | 69 struct brw_reg grf = brw_vec4_grf(reg + slot / 2, 4 * (slot % 2)); in setup_payload()
|
D | meson.build | 84 'brw_reg.h',
|
D | brw_fs.cpp | 420 fs_reg::fs_reg(struct ::brw_reg reg) : in fs_reg() 595 struct brw_reg offset = brw_imm_d(index * BRW_SHADER_TIME_STRIDE); in SHADER_TIME_ADD() 1189 struct brw_reg sample_pos_reg = in emit_samplepos_setup() 1464 struct brw_reg brw_reg = brw_vec1_grf(payload.num_regs + in assign_curb_setup() local 1467 brw_reg.abs = inst->src[i].abs; in assign_curb_setup() 1468 brw_reg.negate = inst->src[i].negate; in assign_curb_setup() 1472 retype(brw_reg, inst->src[i].type), in assign_curb_setup() 1627 struct brw_reg reg = in convert_attr_sources_to_hw_regs() 3066 struct brw_reg reg = in emit_repclear_shader() 3067 brw_reg(BRW_GENERAL_REGISTER_FILE, 2, 3, 0, 0, BRW_REGISTER_TYPE_F, in emit_repclear_shader() [all …]
|
D | test_eu_validate.cpp | 324 struct brw_reg g0_0 = brw_vec1_grf(0, 0); in TEST_P() 714 struct brw_reg g0_0 = brw_vec1_grf(0, 0); in TEST_P() 1233 struct brw_reg dst; in TEST_P() 1237 struct brw_reg src; in TEST_P()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_ff_gs.h | 79 struct brw_reg R0; 86 struct brw_reg SVBI; 88 struct brw_reg vertex[MAX_GS_VERTS]; 89 struct brw_reg header; 90 struct brw_reg temp; 96 struct brw_reg destination_indices;
|
D | brw_ff_gs_emit.c | 166 struct brw_reg vert, in brw_ff_gs_emit_vue() 349 struct brw_reg destination_indices_uw = in gen6_sol_program() 437 struct brw_reg vertex_slot = c->reg.vertex[vertex]; in gen6_sol_program()
|