; constants
.constf const0(1.0, 3.05185094e-005, 0.00392156886, -0.5)

; in
.alias aCoord    v0
.alias aTexCoord v2
.alias aLight    v4

; out
.out vPosition position
.out vTexCoord texcoord0
.out vColor    color

.proc main
    mul r0.xyzw, const0.yyyy, aCoord.yxzw
    mov r0.w, const0.xxxx
    mov r0.y, -r0.y
    mov vPosition, r0

    mul vTexCoord, const0.yyyy, aTexCoord
    mul vColor, const0.zzzz, aLight

    end
.end
