/third_party/mesa3d/src/intel/compiler/ |
D | brw_clip_tri.c | 298 …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() 332 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri() 344 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri() 346 brw_MOV(p, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri() 357 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri() 374 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri() 386 brw_ADD(p, get_addr_reg(outlist_ptr), get_addr_reg(outlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri() 388 brw_MOV(p, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri() 398 brw_ADD(p, get_addr_reg(inlist_ptr), get_addr_reg(inlist_ptr), brw_imm_uw(sizeof(short))); in brw_clip_tri() 471 brw_ADD(p, get_addr_reg(vptr), get_addr_reg(vptr), brw_imm_uw(2)); in brw_clip_tri_emit_polygon() [all …]
|
D | brw_clip_unfilled.c | 299 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_lines() 323 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_lines() 365 brw_ADD(p, get_addr_reg(v0ptr), get_addr_reg(v0ptr), brw_imm_uw(2)); in emit_points()
|
D | brw_clip_util.c | 385 return brw_imm_uw(16); in brw_clip_plane_stride() 388 return brw_imm_uw(4); in brw_clip_plane_stride()
|
D | brw_fs_combine_constants.cpp | 395 inst->src[src_idx] = retype(brw_imm_uw(hf), BRW_REGISTER_TYPE_HF); in can_promote_src_as_imm() 411 inst->src[src_idx] = brw_imm_uw(uw); in can_promote_src_as_imm()
|
D | brw_vec4_generator.cpp | 308 brw_MUL(p, addr, sampler_reg, brw_imm_uw(0x101)); in generate_tex() 449 src1 = brw_imm_uw(src1.ud); in generate_gs_set_write_offset() 840 brw_imm_uw(0x8)); in generate_tcs_input_urb_offsets() 841 brw_SHL(p, addr, addr, brw_imm_uw(2)); in generate_tcs_input_urb_offsets() 846 brw_imm_uw(0x8)); in generate_tcs_input_urb_offsets() 847 brw_SHL(p, addr, addr, brw_imm_uw(2)); in generate_tcs_input_urb_offsets() 1448 brw_ADD(p, addr, indirect, brw_imm_uw(imm_byte_offset)); in generate_mov_indirect()
|
D | brw_fs_nir.cpp | 249 abld.AND(anded, inverted, brw_imm_uw(1)); in emit_system_values_block() 290 allbld8.ADD(byte_offset(reg, 16), reg, brw_imm_uw(8u)); in nir_emit_system_values() 293 allbld16.ADD(byte_offset(reg, 32), reg, brw_imm_uw(16u)); in nir_emit_system_values() 556 g1, brw_imm_uw(0x3f80)); in optimize_frontfacing_ternary() 581 g0, brw_imm_uw(0x3f80)); in optimize_frontfacing_ternary() 852 fs_reg zero = retype(brw_imm_uw(0), BRW_REGISTER_TYPE_HF); in emit_fsign() 857 bld.AND(result, op[0], brw_imm_uw(0x8000u)); in emit_fsign() 860 inst = bld.OR(result, result, brw_imm_uw(0x3c00u)); in emit_fsign() 1339 op[1] = ud ? brw_imm_uw(op[1].ud) : brw_imm_w(op[1].d); in nir_emit_alu() 1976 brw_imm_uw(8)); in nir_emit_alu() [all …]
|
D | brw_fs_generator.cpp | 306 brw_MOV(p, vec2(brw_mask_stack_depth_reg(0)), brw_imm_uw(0)); in patch_halt_jumps() 311 brw_imm_uw(0)); in patch_halt_jumps() 536 insn = brw_MOV(p, addr, brw_imm_uw(imm_byte_offset)); in generate_mov_indirect() 545 insn = brw_ADD(p, addr, indirect_byte_offset, brw_imm_uw(imm_byte_offset)); in generate_mov_indirect() 695 insn = brw_MOV(p, addr, brw_imm_uw(src_start_offset)); in generate_shuffle() 706 brw_imm_uw(util_logbase2(type_sz(src.type)) + in generate_shuffle() 714 brw_ADD(p, addr, addr, brw_imm_uw(src_start_offset)); in generate_shuffle()
|
D | brw_reg.h | 697 brw_imm_uw(uint16_t uw) in brw_imm_uw() function 759 return brw_imm_uw(reg.nr * REG_SIZE + reg.subnr); in brw_address()
|
D | brw_fs_visitor.cpp | 322 half_int_pixel_offset_x = fs_reg(brw_imm_uw(0)); in emit_interpolation_setup_gfx6() 323 half_int_pixel_offset_y = fs_reg(brw_imm_uw(0)); in emit_interpolation_setup_gfx6()
|
D | brw_compile_sf.c | 433 brw_MOV(p, brw_flag_reg(0, 0), brw_imm_uw(value)); in set_predicate_control_flag_value()
|
D | brw_fs.cpp | 4080 ud ? brw_imm_uw(inst->src[1].ud) in lower_mul_dword_inst() 4173 brw_imm_uw(inst->src[1].ud & 0xffff)); in lower_mul_dword_inst() 4175 brw_imm_uw(inst->src[1].ud >> 16)); in lower_mul_dword_inst() 4302 mul->src[1] = brw_imm_uw(mul->src[1].ud); in lower_mulh_inst() 6805 brw_imm_uw(0x7ff)); in lower_trace_ray_logical_send()
|
D | brw_eu_emit.c | 3409 brw_imm_uw(0)); in brw_find_live_channel()
|
/third_party/mesa3d/src/intel/tools/ |
D | i965_gram.y | 1611 $$ = brw_imm_uw($1 | ($1 << 16));
|