mojoshader.c
changeset 1115 ce5fbd601bc0
parent 1111 7530b37979b8
child 1131 133cf29e30ed
equal deleted inserted replaced
1114:db4aefd4c209 1115:ce5fbd601bc0
  4278         if (arg->writemask3) writemask_str[i++] = 'w';
  4278         if (arg->writemask3) writemask_str[i++] = 'w';
  4279     } // if
  4279     } // if
  4280     writemask_str[i] = '\0';
  4280     writemask_str[i] = '\0';
  4281     assert(i < sizeof (writemask_str));
  4281     assert(i < sizeof (writemask_str));
  4282 
  4282 
  4283     const char *pred_left = "";
  4283     //const char *pred_left = "";
  4284     const char *pred_right = "";
  4284     //const char *pred_right = "";
  4285     char pred[32] = { '\0' };
  4285     char pred[32] = { '\0' };
  4286     if (ctx->predicated)
  4286     if (ctx->predicated)
  4287     {
  4287     {
  4288         fail(ctx, "dest register predication currently unsupported in arb1");
  4288         fail(ctx, "dest register predication currently unsupported in arb1");
  4289         return buf;
  4289         return buf;
  4290         pred_left = "(";
  4290         //pred_left = "(";
  4291         pred_right = ") ";
  4291         //pred_right = ") ";
  4292         make_ARB1_srcarg_string_in_buf(ctx, &ctx->predicate_arg,
  4292         make_ARB1_srcarg_string_in_buf(ctx, &ctx->predicate_arg,
  4293                                        pred, sizeof (pred));
  4293                                        pred, sizeof (pred));
  4294     } // if
  4294     } // if
  4295 
  4295 
  4296     snprintf(buf, buflen, "%s%s %s%s%s", pp_str, sat_str,
  4296     snprintf(buf, buflen, "%s%s %s%s%s", pp_str, sat_str,