Lines Matching refs:reg

53    const struct tgsi_src_register *reg,  in tgsi_util_get_src_register_swizzle()  argument
58 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle()
60 return reg->SwizzleY; in tgsi_util_get_src_register_swizzle()
62 return reg->SwizzleZ; in tgsi_util_get_src_register_swizzle()
64 return reg->SwizzleW; in tgsi_util_get_src_register_swizzle()
74 const struct tgsi_full_src_register *reg, in tgsi_util_get_full_src_register_swizzle() argument
78 &reg->Register, in tgsi_util_get_full_src_register_swizzle()
84 struct tgsi_src_register *reg, in tgsi_util_set_src_register_swizzle() argument
90 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle()
93 reg->SwizzleY = swizzle; in tgsi_util_set_src_register_swizzle()
96 reg->SwizzleZ = swizzle; in tgsi_util_set_src_register_swizzle()
99 reg->SwizzleW = swizzle; in tgsi_util_set_src_register_swizzle()
108 const struct tgsi_full_src_register *reg, in tgsi_util_get_full_src_register_sign_mode() argument
113 if( reg->Register.Absolute ) { in tgsi_util_get_full_src_register_sign_mode()
116 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode()
124 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode()
137 struct tgsi_full_src_register *reg, in tgsi_util_set_full_src_register_sign_mode() argument
143 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode()
144 reg->Register.Absolute = 1; in tgsi_util_set_full_src_register_sign_mode()
148 reg->Register.Absolute = 1; in tgsi_util_set_full_src_register_sign_mode()
149 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode()
153 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode()
154 reg->Register.Absolute = 0; in tgsi_util_set_full_src_register_sign_mode()
158 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode()
159 reg->Register.Absolute = 0; in tgsi_util_set_full_src_register_sign_mode()