/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_clip_tri.c | 143 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in brw_clip_tri_init_vertices() 148 brw_imm_ud(_3DPRIM_TRISTRIP_REVERSE)); in brw_clip_tri_init_vertices() 171 brw_MOV(p, c->reg.nr_verts, brw_imm_ud(3)); in brw_clip_tri_init_vertices() 181 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in brw_clip_tri_flat_shade() 186 brw_imm_ud(_3DPRIM_POLYGON)); in brw_clip_tri_flat_shade() 200 brw_imm_ud(_3DPRIM_TRIFAN)); in brw_clip_tri_flat_shade() 250 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1)); in brw_clip_tri() 265 brw_MOV(p, c->reg.nr_verts, brw_imm_ud(0)); in brw_clip_tri() 305 brw_ADD(p, c->reg.nr_verts, c->reg.nr_verts, brw_imm_ud(1)); in brw_clip_tri() 318 brw_ADD(p, c->reg.nr_verts, c->reg.nr_verts, brw_imm_ud(1)); in brw_clip_tri() [all …]
|
D | brw_clip_util.c | 67 return brw_imm_ud((w<<24) | (z<<16) | (y<<8) | x); in make_plane_ud() 227 brw_MOV(p, get_element_ud(c->reg.R0, 2), brw_imm_ud(header)); in brw_clip_emit_vue() 348 brw_SHR(p, c->reg.planemask, incoming, brw_imm_ud(26)); in brw_clip_init_clipmask() 356 brw_AND(p, tmp, incoming, brw_imm_ud(0x3f<<14)); in brw_clip_init_clipmask() 357 brw_SHR(p, tmp, tmp, brw_imm_ud(8)); in brw_clip_init_clipmask() 372 brw_AND(p, brw_null_reg(), c->reg.ff_sync, brw_imm_ud(0x1)); in brw_clip_ff_sync() 375 brw_OR(p, c->reg.ff_sync, c->reg.ff_sync, brw_imm_ud(0x1)); in brw_clip_ff_sync() 396 brw_MOV(p, c->reg.ff_sync, brw_imm_ud(0)); in brw_clip_init_ff_sync()
|
D | brw_gs_emit.c | 120 brw_MOV(p, get_element_ud(c->reg.header, 2), brw_imm_ud(dw2)); in brw_gs_overwrite_header_dw2() 135 brw_imm_ud(0x1f)); in brw_gs_overwrite_header_dw2_from_r0() 137 get_element_ud(c->reg.header, 2), brw_imm_ud(2)); in brw_gs_overwrite_header_dw2_from_r0() 240 brw_MOV(p, get_element_ud(c->reg.header, 1), brw_imm_ud(num_prim)); in brw_gs_ff_sync() 374 get_element_ud(c->reg.SVBI, 0), brw_imm_ud(num_verts)); in gen6_sol_program() 403 get_element_ud(c->reg.R0, 2), brw_imm_ud(0x1f)); in gen6_sol_program() 411 brw_imm_ud(_3DPRIM_TRISTRIP_REVERSE)); in gen6_sol_program() 515 brw_imm_ud(BRW_GS_EDGE_INDICATOR_0)); in gen6_sol_program() 531 brw_imm_ud(BRW_GS_EDGE_INDICATOR_1)); in gen6_sol_program()
|
D | brw_sf_emit.c | 229 brw_JMPI(p, ip, ip, brw_imm_ud(jmpi*nr)); in do_flatshade_line() 631 brw_MOV(p, c->m1Cx, brw_imm_ud(0)); in brw_emit_point_sprite_setup() 632 brw_MOV(p, c->m2Cy, brw_imm_ud(0)); in brw_emit_point_sprite_setup() 669 brw_MOV(p, c->m1Cx, brw_imm_ud(0)); /* zero - move out of loop */ in brw_emit_point_setup() 670 brw_MOV(p, c->m2Cy, brw_imm_ud(0)); /* zero - move out of loop */ in brw_emit_point_setup() 732 brw_MOV(p, primmask, brw_imm_ud(1)); in brw_emit_anyprim_setup() 736 brw_AND(p, v1_null_ud, primmask, brw_imm_ud((1<<_3DPRIM_TRILIST) | in brw_emit_anyprim_setup() 758 brw_AND(p, v1_null_ud, primmask, brw_imm_ud((1<<_3DPRIM_LINELIST) | in brw_emit_anyprim_setup() 776 brw_AND(p, v1_null_ud, payload_attr, brw_imm_ud(1<<BRW_SPRITE_POINT_ENABLE)); in brw_emit_anyprim_setup()
|
D | brw_clip_line.c | 156 brw_imm_ud(1<<20)); in clip_and_emit_line() 157 brw_OR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(0x3f)); in clip_and_emit_line() 167 brw_AND(p, v1_null_ud, c->reg.planemask, brw_imm_ud(1)); in clip_and_emit_line() 245 brw_SHR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(1)); in clip_and_emit_line()
|
D | brw_clip_unfilled.c | 222 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in merge_edgeflags() 227 brw_imm_ud(_3DPRIM_POLYGON)); in merge_edgeflags() 235 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8)); in merge_edgeflags() 243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9)); in merge_edgeflags() 509 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0)); in brw_emit_unfilled_clip()
|
D | brw_vs_emit.c | 903 brw_imm_ud((1U<<31)-1)); in emit_log_noalias() 908 brw_imm_ud(23)); in emit_log_noalias() 920 brw_imm_ud((1<<23)-1)); in emit_log_noalias() 925 brw_imm_ud(127<<23)); in emit_log_noalias() 1550 brw_MOV(p, retype(m1, BRW_REGISTER_TYPE_UD), brw_imm_ud(0)); in emit_vertex_write() 1574 brw_MOV(p, header1, brw_imm_ud(0)); in emit_vertex_write() 1583 header1, brw_imm_ud(0x7ff<<8)); in emit_vertex_write() 1589 brw_OR(p, brw_writemask(header1, WRITEMASK_W), header1, brw_imm_ud(1<<i)); in emit_vertex_write() 1609 brw_OR(p, brw_writemask(header1, WRITEMASK_W), header1, brw_imm_ud(1<<6)); in emit_vertex_write() 1621 brw_MOV(p, retype(brw_message_reg(1), BRW_REGISTER_TYPE_UD), brw_imm_ud(0)); in emit_vertex_write()
|
D | brw_eu_emit.c | 996 brw_set_src1(p, insn, brw_imm_ud(0x0)); in brw_NOP() 1100 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_IF() 1301 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_ELSE() 1373 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_ENDIF() 1536 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_WHILE() 1888 brw_imm_ud(offset)); in brw_oword_block_write_scratch() 1996 brw_imm_ud(offset)); in brw_oword_block_read_scratch() 2057 brw_imm_ud(offset)); in brw_oword_block_read() 2150 brw_imm_ud(location)); in brw_dp_READ_4_vs() 2367 brw_MOV(p, get_element_ud(m1, 2), brw_imm_ud(newmask << 12)); in brw_SAMPLE() [all …]
|
D | brw_fs_emit.cpp | 71 brw_imm_ud(0x1 << 11)); in generate_fb_write() 79 brw_imm_ud(inst->target)); in generate_fb_write() 405 brw_imm_ud(inst->texture_offset)); in generate_tex() 697 brw_reg = brw_imm_ud(reg->imm.u); in brw_reg_from_fs_reg()
|
D | brw_blorp_blit.cpp | 888 brw_AND(&func, t1_ud1, r0_ud1, brw_imm_ud(0xc0)); in compute_frag_coords() 889 brw_SHR(&func, t1_ud1, t1_ud1, brw_imm_ud(5)); in compute_frag_coords() 1317 mcs_data, brw_imm_ud(0)); in manual_blend() 1487 brw_MOV(&func, mrf, brw_imm_ud(0)); in texture_lookup() 1510 brw_MOV(&func, mrf, brw_imm_ud(0)); in texture_lookup()
|
D | brw_wm_emit.c | 424 brw_CMP(p, brw_null_reg(), BRW_CONDITIONAL_L, r1_6ud, brw_imm_ud(1 << 31)); in emit_frontfacing() 1523 brw_imm_ud(target)); in emit_fb_write() 1543 brw_imm_ud(1<<26)); in emit_fb_write()
|
D | brw_vec4_emit.cpp | 215 brw_reg = brw_imm_ud(src[i].imm.u); in get_src()
|
D | brw_eu.h | 405 static INLINE struct brw_reg brw_imm_ud( GLuint ud ) in brw_imm_ud() function
|
D | brw_vec4_visitor.cpp | 2175 brw_OR(p, brw_writemask(header1, WRITEMASK_W), header1, brw_imm_ud(1<<6)); in emit_psiz_and_flags()
|