asm shader problem

Get answers to all your basic programming questions. No Ogre questions, please!
sungoco
Gnoblar
Posts: 17
Joined: Wed Oct 21, 2009 9:05 am

asm shader problem

Post by sungoco »

I'm maintaining an old project.
Its Shader is ps_1_4 with dx8.0.

Now I have a assembly like this:

Code: Select all

ps.1.4
texld r0,t0
mul r0, r0, v0 


when I compiled with psa.exe or D3DXAssembleShader in program.

I recieved the error msg "(1) : (Assembly Error) syntax error"

Why?? texld syntax error???