1VERT 2 3DCL IN[0] 4DCL OUT[0], POSITION 5DCL OUT[1], COLOR 6 7DCL TEMP[0] 8 9DCL ADDR[0] 10 11IMM FLT32 { 3.0, 1.0, 1.0, 1.0 } 12IMM FLT32 { 1.0, 0.0, 0.0, 1.0 } 13IMM FLT32 { 0.0, 1.0, 0.0, 1.0 } 14IMM FLT32 { 0.0, 0.0, 1.0, 1.0 } 15IMM FLT32 { 1.0, 1.0, 0.0, 1.0 } 16IMM FLT32 { 0.0, 1.0, 1.0, 1.0 } 17 18MOV OUT[0], IN[0] 19MUL TEMP[0], IN[0], IMM[0] 20FLR ADDR[0].x, TEMP[0] 21MOV OUT[1], IMM[ADDR[0].x + 3] 22 23END 24