mojoshader.c
changeset 1062 ea5c89942bd3
parent 1061 dbf2735676ae
child 1075 61e5b2764ec8
equal deleted inserted replaced
1061:dbf2735676ae 1062:ea5c89942bd3
  7449                 } // case
  7449                 } // case
  7450 
  7450 
  7451                 case 7:
  7451                 case 7:
  7452                 {
  7452                 {
  7453                     operand->type = MOJOSHADER_PRESHADEROPERAND_TEMP;
  7453                     operand->type = MOJOSHADER_PRESHADEROPERAND_TEMP;
  7454                     if (operand->index >= preshader->temp_count)
  7454                     if (item >= preshader->temp_count)
  7455                         preshader->temp_count = operand->index + 1;
  7455                         preshader->temp_count = item + 1;
  7456                     break;
  7456                     break;
  7457                 } // case
  7457                 } // case
  7458             } // switch
  7458             } // switch
  7459 
  7459 
  7460             operand->index = item;
  7460             operand->index = item;