/third_party/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 258 brw_regs_negative_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_negative_equal() 299 struct brw_reg tmp = *a; in brw_regs_negative_equal() 394 static inline struct brw_reg 395 brw_reg(enum brw_reg_file file, in brw_reg() function 407 struct brw_reg reg; in brw_reg() 443 static inline struct brw_reg 446 return brw_reg(file, in brw_vec16_reg() 460 static inline struct brw_reg [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_ir.h | 36 struct backend_reg : private brw_reg 39 backend_reg(const struct brw_reg ®) : brw_reg(reg), offset(0) {} in backend_reg() 41 const brw_reg &as_brw_reg() const in as_brw_reg() 45 return static_cast<const brw_reg &>(*this); in as_brw_reg() 48 brw_reg &as_brw_reg() in as_brw_reg() 52 return static_cast<brw_reg &>(*this); in as_brw_reg() 67 using brw_reg::type; 68 using brw_reg::file; 69 using brw_reg::negate; 70 using brw_reg::abs; [all …]
|
D | brw_fs.h | 302 struct brw_reg get_tcs_output_urb_handle(); 488 struct brw_reg payload, 489 struct brw_reg implied_header, 492 struct brw_reg dst, 493 struct brw_reg desc, 494 struct brw_reg ex_desc, 495 struct brw_reg payload, 496 struct brw_reg payload2); 497 void generate_fb_write(fs_inst *inst, struct brw_reg payload); 498 void generate_fb_read(fs_inst *inst, struct brw_reg dst, [all …]
|
D | brw_eu.h | 210 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest); 211 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg); 214 struct brw_reg *src, 221 struct brw_reg dest, \ 222 struct brw_reg src0); 226 struct brw_reg dest, \ 227 struct brw_reg src0, \ 228 struct brw_reg src1); 232 struct brw_reg dest, \ 233 struct brw_reg src0, \ [all …]
|
D | brw_vec4_generator.cpp | 34 struct brw_reg dst, in generate_math1_gfx4() 35 struct brw_reg src) in generate_math1_gfx4() 46 check_gfx6_math_src_arg(struct brw_reg src) in check_gfx6_math_src_arg() 57 struct brw_reg dst, in generate_math_gfx6() 58 struct brw_reg src0, in generate_math_gfx6() 59 struct brw_reg src1) in generate_math_gfx6() 76 struct brw_reg dst, in generate_math2_gfx4() 77 struct brw_reg src0, in generate_math2_gfx4() 78 struct brw_reg src1) in generate_math2_gfx4() 90 struct brw_reg &op0 = is_int_div ? src1 : src0; in generate_math2_gfx4() [all …]
|
D | test_eu_compact.cpp | 268 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P() 269 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P() 270 struct brw_reg g4 = brw_vec8_grf(4, 0); in TEST_P() 277 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P() 278 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P() 285 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_D); in TEST_P() 286 struct brw_reg g2 = retype(brw_vec8_grf(2, 0), BRW_REGISTER_TYPE_D); in TEST_P() 293 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P() 294 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P() 301 struct brw_reg m6 = brw_vec8_reg(BRW_MESSAGE_REGISTER_FILE, 6, 0); in TEST_P() [all …]
|
D | brw_fs_generator.cpp | 57 static struct brw_reg 61 struct brw_reg brw_reg; in brw_reg_from_fs_reg() local 69 brw_reg = brw_vec1_reg(brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 100 brw_reg = brw_vecn_reg(1, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 101 brw_reg = stride(brw_reg, reg->stride, 1, 0); in brw_reg_from_fs_reg() 104 brw_reg = brw_vecn_reg(width, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 105 brw_reg = stride(brw_reg, width * reg->stride, width, reg->stride); in brw_reg_from_fs_reg() 131 brw_reg.width++; in brw_reg_from_fs_reg() 132 if (brw_reg.vstride > 0) in brw_reg_from_fs_reg() 133 brw_reg.vstride++; in brw_reg_from_fs_reg() [all …]
|
D | brw_compile_sf.c | 35 struct brw_reg pv; 36 struct brw_reg det; 37 struct brw_reg dx0; 38 struct brw_reg dx2; 39 struct brw_reg dy0; 40 struct brw_reg dy2; 44 struct brw_reg z[3]; 45 struct brw_reg inv_w[3]; 49 struct brw_reg vert[3]; 53 struct brw_reg inv_det; [all …]
|
D | brw_eu_emit.c | 47 struct brw_reg *src, in gfx6_resolve_implied_move() 71 gfx7_convert_mrf_to_grf(struct brw_codegen *p, struct brw_reg *reg) in gfx7_convert_mrf_to_grf() 89 brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest) in brw_set_dest() 209 brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src0() 345 brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src1() 731 struct brw_reg dest, struct brw_reg src) in brw_alu1() 741 struct brw_reg dest, struct brw_reg src0, struct brw_reg src1) in brw_alu2() 755 get_3src_subreg_nr(struct brw_reg reg) in get_3src_subreg_nr() 806 brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest, in brw_alu3() 807 struct brw_reg src0, struct brw_reg src1, struct brw_reg src2) in brw_alu3() [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 | 47 struct brw_reg e = c->reg.tmp0; in compute_tri_direction() 48 struct brw_reg f = c->reg.tmp1; in compute_tri_direction() 50 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction() 51 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction() 52 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction() 55 struct brw_reg v0n = get_tmp(c); in compute_tri_direction() 56 struct brw_reg v1n = get_tmp(c); in compute_tri_direction() 57 struct brw_reg v2n = get_tmp(c); in compute_tri_direction() 198 struct brw_reg off = c->reg.offset; in compute_offset() 199 struct brw_reg dir = c->reg.dir; in compute_offset() [all …]
|
D | brw_compile_ff_gs.c | 46 struct brw_reg R0; 53 struct brw_reg SVBI; 55 struct brw_reg vertex[MAX_GS_VERTS]; 56 struct brw_reg header; 57 struct brw_reg temp; 63 struct brw_reg destination_indices; 195 struct brw_reg vert, in brw_ff_gs_emit_vue() 379 struct brw_reg destination_indices_uw = in gfx6_sol_program() 467 struct brw_reg vertex_slot = c->reg.vertex[vertex]; in gfx6_sol_program()
|
D | brw_shader.h | 104 bool brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg); 105 bool brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg); 106 bool brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg);
|
D | brw_clip_tri.c | 138 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_init_vertices() 178 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_flat_shade() 230 struct brw_reg dst, GLuint hpos_offset, int cond) in load_clip_distance() 518 struct brw_reg t = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 519 struct brw_reg t1 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 520 struct brw_reg t2 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 521 struct brw_reg t3 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 523 struct brw_reg v0 = get_tmp(c); in brw_clip_test() 524 struct brw_reg v1 = get_tmp(c); in brw_clip_test() 525 struct brw_reg v2 = get_tmp(c); in brw_clip_test() [all …]
|
D | brw_vec4_gs_visitor.cpp | 57 static inline struct brw_reg 60 struct brw_reg reg; in attribute_to_hw_reg() 110 struct brw_reg reg = in setup_varying_inputs()
|
D | brw_ir_vec4.h | 43 src_reg(struct ::brw_reg reg); 163 dst_reg(struct ::brw_reg reg);
|
D | brw_fs_visitor.cpp | 163 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx4() 347 … struct brw_reg r1_0 = retype(brw_vec1_reg(BRW_GENERAL_REGISTER_FILE, 1, 0), BRW_REGISTER_TYPE_UB); in emit_interpolation_setup_gfx6() 388 struct brw_reg gi_uw = retype(brw_vec1_grf(1 + i, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx6() 1076 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
|
D | brw_shader.cpp | 569 brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_saturate_immediate() 632 brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_negate_immediate() 675 brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_abs_immediate()
|
D | brw_vec4_tes.cpp | 67 struct brw_reg grf = brw_vec4_grf(reg + slot / 2, 4 * (slot % 2)); in setup_payload()
|
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() 1517 struct brw_reg reg = brw_vec8_grf(grf, 0); in setup_attributes() 1649 src_reg ts = src_reg(brw_reg(BRW_ARCHITECTURE_REGISTER_FILE, in get_timestamp() 1721 struct brw_reg reg; in convert_to_hw_regs() 1809 struct brw_reg reg; in convert_to_hw_regs() 2266 vec4_visitor::apply_logical_swizzle(struct brw_reg *hw_reg, in apply_logical_swizzle()
|
/third_party/mesa3d/src/intel/tools/ |
D | i965_gram.y | 93 static struct brw_reg 94 set_direct_src_operand(struct brw_reg *reg, int type) in set_direct_src_operand() 96 return brw_reg(reg->file, in set_direct_src_operand() 111 struct brw_reg dest, struct brw_reg src0) in i965_asm_unary_instruction() 167 struct brw_reg dest, in i965_asm_binary_instruction() 168 struct brw_reg src0, in i965_asm_binary_instruction() 169 struct brw_reg src1) in i965_asm_binary_instruction() 261 struct brw_reg dest, in i965_asm_ternary_instruction() 262 struct brw_reg src0, in i965_asm_ternary_instruction() 263 struct brw_reg src1, in i965_asm_ternary_instruction() [all …]
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.4.1.rst | 45 - i965/brw_reg: struct constructor now needs explicit negate and abs
|
D | 10.3.6.rst | 47 - i965/brw_reg: struct constructor now needs explicit negate and abs
|