/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm.h | 117 struct brw_reg hw_reg; /* emitted to this reg, may not always be there */ 125 struct brw_reg hw_reg; /* nr filled in in pass2, everything else, pass0 */ 264 struct brw_reg reg; 269 struct brw_reg stack; 270 struct brw_reg emit_mask_reg; 280 struct brw_reg reg; 321 struct brw_reg, 322 struct brw_reg), 323 const struct brw_reg *dst, 325 const struct brw_reg *arg0); [all …]
|
D | brw_eu.h | 73 struct brw_reg struct 186 static INLINE struct brw_reg brw_reg( GLuint file, in brw_reg() function 196 struct brw_reg reg; in brw_reg() 230 static INLINE struct brw_reg brw_vec16_reg( GLuint file, in brw_vec16_reg() 234 return brw_reg(file, in brw_vec16_reg() 246 static INLINE struct brw_reg brw_vec8_reg( GLuint file, in brw_vec8_reg() 250 return brw_reg(file, in brw_vec8_reg() 262 static INLINE struct brw_reg brw_vec4_reg( GLuint file, in brw_vec4_reg() 266 return brw_reg(file, in brw_vec4_reg() 278 static INLINE struct brw_reg brw_vec2_reg( GLuint file, in brw_vec2_reg() [all …]
|
D | brw_clip.h | 78 struct brw_reg R0; 79 struct brw_reg vertex[MAX_VERTS]; 81 struct brw_reg t; 82 struct brw_reg t0, t1; 83 struct brw_reg dp0, dp1; 85 struct brw_reg dpPrev; 86 struct brw_reg dp; 87 struct brw_reg loopcount; 88 struct brw_reg nr_verts; 89 struct brw_reg planemask; [all …]
|
D | brw_sf.h | 65 struct brw_reg pv; 66 struct brw_reg det; 67 struct brw_reg dx0; 68 struct brw_reg dx2; 69 struct brw_reg dy0; 70 struct brw_reg dy2; 74 struct brw_reg z[3]; 75 struct brw_reg inv_w[3]; 79 struct brw_reg vert[3]; 83 struct brw_reg inv_det; [all …]
|
D | brw_vec4_emit.cpp | 65 struct brw_reg reg = brw_vec8_grf(grf, 0); in setup_attributes() 78 struct brw_reg reg = brw_vec8_grf(grf, 0); in setup_attributes() 156 struct brw_reg 159 struct brw_reg brw_reg; in get_dst() local 163 brw_reg = brw_vec8_grf(dst.reg + dst.reg_offset, 0); in get_dst() 164 brw_reg = retype(brw_reg, dst.type); in get_dst() 165 brw_reg.dw1.bits.writemask = dst.writemask; in get_dst() 169 brw_reg = brw_message_reg(dst.reg + dst.reg_offset); in get_dst() 170 brw_reg = retype(brw_reg, dst.type); in get_dst() 171 brw_reg.dw1.bits.writemask = dst.writemask; in get_dst() [all …]
|
D | brw_wm_emit.c | 38 can_do_pln(struct intel_context *intel, const struct brw_reg *deltas) in can_do_pln() 116 const struct brw_reg *dst, in emit_pixel_xy() 120 struct brw_reg r1 = brw_vec1_grf(1, 0); in emit_pixel_xy() 121 struct brw_reg r1_uw = retype(r1, BRW_REGISTER_TYPE_UW); in emit_pixel_xy() 122 struct brw_reg dst0_uw, dst1_uw; in emit_pixel_xy() 163 const struct brw_reg *dst, in emit_delta_xy() 165 const struct brw_reg *arg0) in emit_delta_xy() 168 struct brw_reg r1 = brw_vec1_grf(1, 0); in emit_delta_xy() 207 const struct brw_reg *dst, in emit_wpos_xy() 209 const struct brw_reg *arg0) in emit_wpos_xy() [all …]
|
D | brw_fs_emit.cpp | 44 struct brw_reg implied_header; in generate_fb_write() 122 fs_visitor::generate_pixel_xy(struct brw_reg dst, bool is_x) in generate_pixel_xy() 124 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in generate_pixel_xy() 125 struct brw_reg src; in generate_pixel_xy() 126 struct brw_reg deltas; in generate_pixel_xy() 151 struct brw_reg dst, struct brw_reg *src) in generate_linterp() 153 struct brw_reg delta_x = src[0]; in generate_linterp() 154 struct brw_reg delta_y = src[1]; in generate_linterp() 155 struct brw_reg interp = src[2]; in generate_linterp() 169 struct brw_reg dst, in generate_math1_gen7() [all …]
|
D | brw_vs_emit.c | 80 static struct brw_reg get_tmp( struct brw_vs_compile *c ) in get_tmp() 82 struct brw_reg tmp = brw_vec8_grf(c->last_tmp, 0); in get_tmp() 90 static void release_tmp( struct brw_vs_compile *c, struct brw_reg tmp ) in release_tmp() 354 c->regs[PROGRAM_ADDRESS][i] = brw_reg(BRW_GENERAL_REGISTER_FILE, in brw_vs_alloc_regs() 430 struct brw_reg dst, in unalias1() argument 431 struct brw_reg arg0, in unalias1() 433 struct brw_reg, in unalias1() 434 struct brw_reg )) in unalias1() 438 struct brw_reg tmp = brw_writemask(get_tmp(c), dst.dw1.bits.writemask); in unalias1() 453 struct brw_reg dst, in unalias2() argument [all …]
|
D | brw_fs.h | 87 fs_reg(struct brw_reg fixed_hw_reg); 112 struct brw_reg fixed_hw_reg; 268 void generate_pixel_xy(struct brw_reg dst, bool is_x); 269 void generate_linterp(fs_inst *inst, struct brw_reg dst, 270 struct brw_reg *src); 271 void generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src); 273 struct brw_reg dst, 274 struct brw_reg src); 276 struct brw_reg dst, 277 struct brw_reg src0, [all …]
|
D | brw_vec4.h | 69 struct brw_reg fixed_hw_reg; 137 dst_reg(struct brw_reg reg); 167 struct brw_reg get_dst(void); 168 struct brw_reg get_src(int i); 414 void emit_psiz_and_flags(struct brw_reg reg); 415 void emit_clip_distances(struct brw_reg reg, int offset); 444 struct brw_reg dst, 445 struct brw_reg *src); 448 struct brw_reg dst, 449 struct brw_reg src); [all …]
|
D | brw_vs.h | 101 struct brw_reg r0; 102 struct brw_reg r1; 103 struct brw_reg regs[PROGRAM_ADDRESS+1][128]; 104 struct brw_reg tmp; 108 struct brw_reg reg; 111 struct brw_reg userplane[MAX_CLIP_PLANES]; 116 struct brw_reg reg;
|
D | brw_gs.h | 81 struct brw_reg R0; 88 struct brw_reg SVBI; 90 struct brw_reg vertex[MAX_GS_VERTS]; 91 struct brw_reg header; 92 struct brw_reg temp; 98 struct brw_reg destination_indices;
|
D | brw_eu_util.c | 39 struct brw_reg dst, in brw_math_invert() 40 struct brw_reg src) in brw_math_invert() 54 struct brw_reg dst, in brw_copy4() 55 struct brw_reg src, in brw_copy4() 73 struct brw_reg dst, in brw_copy8() 74 struct brw_reg src, in brw_copy8() 107 struct brw_reg dst, in brw_copy_from_indirect()
|
D | brw_eu_emit.c | 45 struct brw_reg reg) in guess_execution_size() 63 struct brw_reg *src, in gen6_resolve_implied_move() 85 gen7_convert_mrf_to_grf(struct brw_compile *p, struct brw_reg *reg) in gen7_convert_mrf_to_grf() 105 struct brw_reg dest) in brw_set_dest() 160 validate_reg(struct brw_instruction *insn, struct brw_reg reg) in validate_reg() 237 struct brw_reg reg) in brw_set_src0() 316 struct brw_reg reg) in brw_set_src1() 731 struct brw_reg dest, in brw_alu1() 732 struct brw_reg src ) in brw_alu1() 742 struct brw_reg dest, in brw_alu2() [all …]
|
D | brw_clip_util.c | 48 struct brw_reg get_tmp( struct brw_clip_compile *c ) in get_tmp() 50 struct brw_reg tmp = brw_vec4_grf(c->last_tmp, 0); in get_tmp() 58 static void release_tmp( struct brw_clip_compile *c, struct brw_reg tmp ) in release_tmp() 65 static struct brw_reg make_plane_ud(GLuint x, GLuint y, GLuint z, GLuint w) in make_plane_ud() 91 void brw_clip_project_position(struct brw_clip_compile *c, struct brw_reg pos ) in brw_clip_project_position() 111 struct brw_reg tmp = get_tmp(c); in brw_clip_project_vertex() 137 struct brw_reg t0, in brw_clip_interp_vertex() 141 struct brw_reg tmp = get_tmp(c); in brw_clip_interp_vertex() 277 struct brw_reg brw_clip_plane0_address( struct brw_clip_compile *c ) in brw_clip_plane0_address() 283 struct brw_reg brw_clip_plane_stride( struct brw_clip_compile *c ) in brw_clip_plane_stride() [all …]
|
D | brw_blorp_blit.cpp | 502 void sample(struct brw_reg dst); 503 void texel_fetch(struct brw_reg dst); 505 void expand_to_32_bits(struct brw_reg src, struct brw_reg dst); 506 void texture_lookup(struct brw_reg dst, GLuint msg_type, 521 struct brw_reg R0; 524 struct brw_reg R1; 527 struct brw_reg dst_x0; 528 struct brw_reg dst_x1; 529 struct brw_reg dst_y0; 530 struct brw_reg dst_y1; [all …]
|
D | brw_sf_emit.c | 61 static struct brw_reg get_vert_result(struct brw_sf_compile *c, in get_vert_result() 62 struct brw_reg vert, in get_vert_result() 83 struct brw_reg vert ) in copy_bfc() 145 struct brw_reg dst, in copy_colors() 146 struct brw_reg src) in copy_colors() 169 struct brw_reg ip = brw_ip_reg(); in do_flatshade_triangle() 208 struct brw_reg ip = brw_ip_reg(); in do_flatshade_line() 429 struct brw_reg a0 = offset(c->vert[0], i); in brw_emit_tri_setup() 430 struct brw_reg a1 = offset(c->vert[1], i); in brw_emit_tri_setup() 431 struct brw_reg a2 = offset(c->vert[2], i); in brw_emit_tri_setup() [all …]
|
D | brw_clip_unfilled.c | 53 struct brw_reg e = c->reg.tmp0; in compute_tri_direction() 54 struct brw_reg f = c->reg.tmp1; in compute_tri_direction() 57 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction() 58 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction() 59 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction() 62 struct brw_reg v0n = get_tmp(c); in compute_tri_direction() 63 struct brw_reg v1n = get_tmp(c); in compute_tri_direction() 64 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 | 139 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_init_vertices() 179 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_flat_shade() 471 struct brw_reg t = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 472 struct brw_reg t1 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 473 struct brw_reg t2 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 474 struct brw_reg t3 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 476 struct brw_reg v0 = get_tmp(c); in brw_clip_test() 477 struct brw_reg v1 = get_tmp(c); in brw_clip_test() 478 struct brw_reg v2 = get_tmp(c); in brw_clip_test() 485 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_test()
|
D | brw_eu_debug.c | 37 void brw_print_reg( struct brw_reg hwreg ) in brw_print_reg()
|
D | brw_gs_emit.c | 167 struct brw_reg vert, in brw_gs_emit_vue() 362 struct brw_reg destination_indices_uw = in gen6_sol_program() 446 struct brw_reg vertex_slot = c->reg.vertex[vertex]; in gen6_sol_program()
|
D | brw_wm_debug.c | 64 struct brw_reg hw_reg = ref->hw_reg; in brw_wm_print_ref()
|
D | brw_fs.cpp | 247 fs_reg::fs_reg(struct brw_reg fixed_hw_reg) in fs_reg() 710 struct brw_reg interp = interp_reg(location, k); in emit_general_interpolation() 730 struct brw_reg interp = interp_reg(location, k); in emit_general_interpolation() 773 struct brw_reg r1_6ud = retype(brw_vec1_grf(1, 6), BRW_REGISTER_TYPE_UD); in emit_frontfacing_interpolation() 928 struct brw_reg brw_reg = brw_vec1_grf(c->nr_payload_regs + in assign_curb_setup() local 933 inst->src[i].fixed_hw_reg = retype(brw_reg, inst->src[i].type); in assign_curb_setup()
|
D | brw_clip_line.c | 135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD); in clip_and_emit_line()
|
D | brw_vec4_visitor.cpp | 1129 struct brw_reg acc = retype(brw_acc_reg(), BRW_REGISTER_TYPE_D); in visit() 2125 vec4_visitor::emit_psiz_and_flags(struct brw_reg reg) in emit_psiz_and_flags() 2194 vec4_visitor::emit_clip_distances(struct brw_reg reg, int offset) in emit_clip_distances() 2251 struct brw_reg hw_reg = brw_message_reg(mrf); in emit_urb_slot()
|