Lines Matching refs:RGB
345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ?
346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth);
352 if (inst->RGB.Src[src].Used) {
356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0);
367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index));
382 if (inst->RGB.Opcode != RC_OPCODE_NOP) {
383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode);
388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : "");
389 if (inst->RGB.WriteMask)
390 fprintf(f, " temp[%i].%s%s%s", inst->RGB.DestIndex,
391 (inst->RGB.WriteMask & 1) ? "x" : "",
392 (inst->RGB.WriteMask & 2) ? "y" : "",
393 (inst->RGB.WriteMask & 4) ? "z" : "");
394 if (inst->RGB.OutputWriteMask)
395 fprintf(f, " color[%i].%s%s%s", inst->RGB.Target,
396 (inst->RGB.OutputWriteMask & 1) ? "x" : "",
397 (inst->RGB.OutputWriteMask & 2) ? "y" : "",
398 (inst->RGB.OutputWriteMask & 4) ? "z" : "");
402 print_omod_op(f, inst->RGB.Omod);
405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : "";
406 const char* neg = inst->RGB.Arg[arg].Negate ? "-" : "";
408 if(inst->RGB.Arg[arg].Source == RC_PAIR_PRESUB_SRC)
411 fprintf(f,"%d", inst->RGB.Arg[arg].Source);
413 rc_swizzle_char(GET_SWZ(inst->RGB.Arg[arg].Swizzle, 0)),
414 rc_swizzle_char(GET_SWZ(inst->RGB.Arg[arg].Swizzle, 1)),
415 rc_swizzle_char(GET_SWZ(inst->RGB.Arg[arg].Swizzle, 2)),