For both the ps11 and ps14 code you posted...
Change the stream declarations from this:
Quote:
vertexShader=
dec_position v0
dec_normal v1
dec_texcoord v3
dec_texcoord v4
asm
{
vs.1.1
m4x4 oPos,v0,c0 // transform position to clip space
..........
To this: (Note the location of where the declarations go now.)
Quote:
vertexShader=
asm
{
vs.1.1
dcl_position v0
dcl_normal v3
dcl_texcoord0 v7
m4x4 oPos,v0,c0
..........
And in your ps11 code, change <oFog.x>, to <oFog>. Just like you have in the ps14 code.
And as pointed out, change the <vs.1.0> in the ps11 code to <vs.1.1>.