Lines Matching refs:RGB
39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
66 if (rgb) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
94 } else if (candidate < 0 || (rgb && rgb_used > 2)
101 if (rgb) {
102 pair->RGB.Src[candidate].Used = 1;
103 pair->RGB.Src[candidate].File = file;
104 pair->RGB.Src[candidate].Index = index;
110 pair->RGB.Src[i].Used = 1;
158 pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index);
160 cb(data, &pair->RGB.Src[i]);
164 cb(data, &pair->RGB.Src[src]);
191 rc_get_opcode_info(pair->RGB.Opcode);
199 swz = GET_SWZ(pair->RGB.Arg[i].Swizzle, chan);
206 pair->RGB.Arg[i].Source);
219 return &pair_inst->RGB.Src[arg->Source];
233 if (&pair_inst->RGB.Src[i] == src