mojoshader.c
changeset 1206 8073819b258d
parent 1199 b8ece252a201
child 1223 32ab7e4fbdc6
equal deleted inserted replaced
1205:59d969911962 1206:8073819b258d
  2722                     operand->type = MOJOSHADER_PRESHADEROPERAND_TEMP;
  2722                     operand->type = MOJOSHADER_PRESHADEROPERAND_TEMP;
  2723                     if (item >= preshader->temp_count)
  2723                     if (item >= preshader->temp_count)
  2724                         preshader->temp_count = item + 1;
  2724                         preshader->temp_count = item + 1;
  2725                     break;
  2725                     break;
  2726                 } // case
  2726                 } // case
       
  2727 
       
  2728                 default:
       
  2729                     assert(0 && "Unhandled fxlc.tokens[1] in parse_preshader!");
       
  2730                     break;
  2727             } // switch
  2731             } // switch
  2728 
  2732 
  2729             operand->index = item;
  2733             operand->index = item;
  2730 
  2734 
  2731             fxlc.tokens += 3;
  2735             fxlc.tokens += 3;