Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. !!ARBfp1.0
  2. TEMP R0;
  3. PARAM c[4] = { { 0, 0, 0, 0 },
  4. program.local[0..1],
  5. { 1, 1, 1, 1 } };
  6. MOV R0, c[1];
  7. SUB R0, R0, c[0];
  8. ADD R0, R0, c[2];
  9. MUL R0, R0, c[3];
  10. MOV result.color, R0;
  11. END