• Home
  • Raw
  • Download

Lines Matching refs:imm

646    struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_DF);  in brw_imm_df()  local
647 imm.df = df; in brw_imm_df()
648 return imm; in brw_imm_df()
654 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UQ); in brw_imm_u64() local
655 imm.u64 = u64; in brw_imm_u64()
656 return imm; in brw_imm_u64()
662 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_F); in brw_imm_f() local
663 imm.f = f; in brw_imm_f()
664 return imm; in brw_imm_f()
671 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_Q); in brw_imm_q() local
672 imm.d64 = q; in brw_imm_q()
673 return imm; in brw_imm_q()
680 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UQ); in brw_imm_uq() local
681 imm.u64 = uq; in brw_imm_uq()
682 return imm; in brw_imm_uq()
689 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_D); in brw_imm_d() local
690 imm.d = d; in brw_imm_d()
691 return imm; in brw_imm_d()
698 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UD); in brw_imm_ud() local
699 imm.ud = ud; in brw_imm_ud()
700 return imm; in brw_imm_ud()
707 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UW); in brw_imm_uw() local
708 imm.ud = uw | (uw << 16); in brw_imm_uw()
709 return imm; in brw_imm_uw()
716 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_W); in brw_imm_w() local
717 imm.ud = (uint16_t)w | (uint32_t)(uint16_t)w << 16; in brw_imm_w()
718 return imm; in brw_imm_w()
729 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_V); in brw_imm_v() local
730 imm.ud = v; in brw_imm_v()
731 return imm; in brw_imm_v()
738 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UV); in brw_imm_uv() local
739 imm.ud = uv; in brw_imm_uv()
740 return imm; in brw_imm_uv()
747 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_VF); in brw_imm_vf() local
748 imm.ud = v; in brw_imm_vf()
749 return imm; in brw_imm_vf()
755 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_VF); in brw_imm_vf4() local
756 imm.vstride = BRW_VERTICAL_STRIDE_0; in brw_imm_vf4()
757 imm.width = BRW_WIDTH_4; in brw_imm_vf4()
758 imm.hstride = BRW_HORIZONTAL_STRIDE_1; in brw_imm_vf4()
759 imm.ud = ((v0 << 0) | (v1 << 8) | (v2 << 16) | (v3 << 24)); in brw_imm_vf4()
760 return imm; in brw_imm_vf4()