Home
last modified time | relevance | path

Searched refs:brw_reg (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dbrw_reg.h216 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 …]
Dbrw_clip.h52 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 …]
Dbrw_ir.h36 struct backend_reg : private brw_reg
39 backend_reg(const struct brw_reg &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 …]
Dbrw_fs.h292 struct brw_reg get_tcs_output_urb_handle();
486 struct brw_reg payload,
487 struct brw_reg implied_header,
490 struct brw_reg dst,
491 struct brw_reg desc,
492 struct brw_reg ex_desc,
493 struct brw_reg payload,
494 struct brw_reg payload2);
495 void generate_fb_write(fs_inst *inst, struct brw_reg payload);
496 void generate_fb_read(fs_inst *inst, struct brw_reg dst,
[all …]
Dbrw_eu.h206 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest);
207 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
210 struct brw_reg *src,
217 struct brw_reg dest, \
218 struct brw_reg src0);
222 struct brw_reg dest, \
223 struct brw_reg src0, \
224 struct brw_reg src1);
228 struct brw_reg dest, \
229 struct brw_reg src0, \
[all …]
Dtest_eu_compact.cpp262 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P()
263 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P()
264 struct brw_reg g4 = brw_vec8_grf(4, 0); in TEST_P()
271 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P()
272 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P()
279 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_D); in TEST_P()
280 struct brw_reg g2 = retype(brw_vec8_grf(2, 0), BRW_REGISTER_TYPE_D); in TEST_P()
287 struct brw_reg g0 = brw_vec8_grf(0, 0); in TEST_P()
288 struct brw_reg g2 = brw_vec8_grf(2, 0); in TEST_P()
295 struct brw_reg m6 = brw_vec8_reg(BRW_MESSAGE_REGISTER_FILE, 6, 0); in TEST_P()
[all …]
Dbrw_vec4_generator.cpp34 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 …]
Dbrw_fs_generator.cpp56 static struct brw_reg
60 struct brw_reg brw_reg; in brw_reg_from_fs_reg() local
68 brw_reg = brw_vec1_reg(brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg()
99 brw_reg = brw_vecn_reg(1, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg()
100 brw_reg = stride(brw_reg, reg->stride, 1, 0); in brw_reg_from_fs_reg()
103 brw_reg = brw_vecn_reg(width, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg()
104 brw_reg = stride(brw_reg, width * reg->stride, width, reg->stride); in brw_reg_from_fs_reg()
130 brw_reg.width++; in brw_reg_from_fs_reg()
131 if (brw_reg.vstride > 0) in brw_reg_from_fs_reg()
132 brw_reg.vstride++; in brw_reg_from_fs_reg()
[all …]
Dbrw_compile_sf.c34 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 …]
Dbrw_eu_emit.c47 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()
730 struct brw_reg dest, struct brw_reg src) in brw_alu1()
740 struct brw_reg dest, struct brw_reg src0, struct brw_reg src1) in brw_alu2()
754 get_3src_subreg_nr(struct brw_reg reg) in get_3src_subreg_nr()
805 brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest, in brw_alu3()
806 struct brw_reg src0, struct brw_reg src1, struct brw_reg src2) in brw_alu3()
[all …]
Dbrw_eu_util.c38 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()
Dbrw_clip_util.c40 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 …]
Dbrw_clip_unfilled.c46 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 …]
Dbrw_compile_ff_gs.c45 struct brw_reg R0;
52 struct brw_reg SVBI;
54 struct brw_reg vertex[MAX_GS_VERTS];
55 struct brw_reg header;
56 struct brw_reg temp;
62 struct brw_reg destination_indices;
194 struct brw_reg vert, in brw_ff_gs_emit_vue()
378 struct brw_reg destination_indices_uw = in gfx6_sol_program()
466 struct brw_reg vertex_slot = c->reg.vertex[vertex]; in gfx6_sol_program()
Dbrw_shader.h103 bool brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg);
104 bool brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg);
105 bool brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg);
Dbrw_clip_tri.c137 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 …]
Dbrw_vec4_gs_visitor.cpp57 static inline struct brw_reg
60 struct brw_reg reg; in attribute_to_hw_reg()
110 struct brw_reg reg = in setup_varying_inputs()
Dbrw_ir_vec4.h43 src_reg(struct ::brw_reg reg);
163 dst_reg(struct ::brw_reg reg);
Dbrw_fs_visitor.cpp158 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx4()
342 … struct brw_reg r1_0 = retype(brw_vec1_reg(BRW_GENERAL_REGISTER_FILE, 1, 0), BRW_REGISTER_TYPE_UB); in emit_interpolation_setup_gfx6()
383 struct brw_reg gi_uw = retype(brw_vec1_grf(1 + i, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx6()
1036 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
Dbrw_vec4_tes.cpp68 struct brw_reg grf = brw_vec4_grf(reg + slot / 2, 4 * (slot % 2)); in setup_payload()
Dbrw_shader.cpp572 brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_saturate_immediate()
635 brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_negate_immediate()
678 brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg) in brw_abs_immediate()
Dbrw_fs_combine_constants.cpp275 static struct brw_reg
543 struct brw_reg imm_reg = build_imm_reg_for_copy(imm); in opt_combine_constants()
/third_party/mesa3d/src/intel/tools/
Di965_gram.y93 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/
D10.4.1.rst45 - i965/brw_reg: struct constructor now needs explicit negate and abs
D10.3.6.rst47 - i965/brw_reg: struct constructor now needs explicit negate and abs

12