Home
last modified time | relevance | path

Searched refs:brw_imm_uw (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp_blit.cpp962 brw_AND(&func, t1, X, brw_imm_uw(0xfff4)); /* X & ~0b1011 */ in translate_tiling()
963 brw_SHR(&func, t1, t1, brw_imm_uw(1)); /* (X & ~0b1011) >> 1 */ in translate_tiling()
964 brw_AND(&func, t2, Y, brw_imm_uw(1)); /* Y & 0b1 */ in translate_tiling()
965 brw_SHL(&func, t2, t2, brw_imm_uw(2)); /* (Y & 0b1) << 2 */ in translate_tiling()
967 brw_AND(&func, t2, X, brw_imm_uw(1)); /* X & 0b1 */ in translate_tiling()
969 brw_AND(&func, t1, Y, brw_imm_uw(0xfffe)); /* Y & ~0b1 */ in translate_tiling()
970 brw_SHL(&func, t1, t1, brw_imm_uw(1)); /* (Y & ~0b1) << 1 */ in translate_tiling()
971 brw_AND(&func, t2, X, brw_imm_uw(8)); /* X & 0b1000 */ in translate_tiling()
972 brw_SHR(&func, t2, t2, brw_imm_uw(2)); /* (X & 0b1000) >> 2 */ in translate_tiling()
974 brw_AND(&func, t2, X, brw_imm_uw(2)); /* X & 0b10 */ in translate_tiling()
[all …]
Dbrw_clip_tri.c257 …brw_ADD(p, get_addr_reg(freelist_ptr), get_addr_reg(freelist_ptr), brw_imm_uw(c->nr_regs * REG_SIZ… in brw_clip_tri()
293 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
304 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri()
306 brw_MOV(p, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
317 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri()
335 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
346 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri()
348 brw_MOV(p, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
358 brw_ADD(p, get_addr_reg(inlist_ptr), get_addr_reg(inlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri()
426 brw_ADD(p, get_addr_reg(vptr), get_addr_reg(vptr), brw_imm_uw(2)); in brw_clip_tri_emit_polygon()
[all …]
Dbrw_clip_unfilled.c290 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_lines()
313 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_lines()
354 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_points()
Dbrw_clip_util.c286 return brw_imm_uw(16); in brw_clip_plane_stride()
289 return brw_imm_uw(4); in brw_clip_plane_stride()
Dbrw_vs_emit.c1187 brw_MUL(p, acc, vp_address, brw_imm_uw(reg_size)); in deref()
1188 brw_ADD(p, brw_address_reg(0), acc, brw_imm_uw(byte_offset)); in deref()
1190 brw_MUL(p, acc, suboffset(vp_address, 4), brw_imm_uw(reg_size)); in deref()
1191 brw_ADD(p, brw_address_reg(1), acc, brw_imm_uw(byte_offset)); in deref()
1225 brw_MUL(p, acc, vp_address, brw_imm_uw(reg_size)); in move_to_reladdr_dst()
1226 brw_ADD(p, brw_address_reg(0), acc, brw_imm_uw(byte_offset)); in move_to_reladdr_dst()
1229 brw_MUL(p, acc, suboffset(vp_address, 4), brw_imm_uw(reg_size)); in move_to_reladdr_dst()
1231 brw_imm_uw(byte_offset + reg_size / 2)); in move_to_reladdr_dst()
Dbrw_eu.c73 brw_MOV(p, brw_flag_reg(), brw_imm_uw(value)); in brw_set_predicate_control_flag_value()
Dbrw_eu.h413 static INLINE struct brw_reg brw_imm_uw( GLushort uw ) in brw_imm_uw() function
477 return brw_imm_uw(reg.nr * REG_SIZE + reg.subnr); in brw_address()
Dbrw_vec4_emit.cpp449 brw_imm_uw(inst->texture_offset)); in generate_tex()
Dbrw_fs_emit.cpp514 brw_MOV(p, f0, brw_imm_uw(0xffff)); in generate_discard()