Some fixes dx9 pixel shaders.

Pixel shader texture coordinates should be inputs not outputs.
Use gl_FragData for pixel shader outputs.
Update the abInputReferencedByInstruction array to ensure that input
varyings are written to the input temps.