ey felipe ! nice to meet you, all right with ke4 ?
got some information about the card:
vertex shader v 1.1
pixel shader v 1.4
see a list of pixelshader functions with compatibilities:
A PS 1.4 pixel shader breaks a pixel shader up into two sections. This allows the pixel shader to increase the number of instructions.
Takes no space nor time
There are no arguments for the phase instruction. Instructions that come in the shader before the phase instruction are considered phase 1 instructions. Any instructions that come after the phase instruction are considered phase 2 instructions. There can be only one phase instruction in a shader. Each phase can use up to six texture operations followed by up to eight arithmetic operations. The shader must still place the ps and def instructions at the top of the shader.
The phase instruction is a marker used to indicate the intention to perform a dependant texture read, more texture fetches, or more arithmetic instructions.
Note: The alpha component of the temporary registers must be reinitialized after the phase command.