PDA

View Full Version : NV40 emulator & NV_vp3



azazello
09-24-2003, 02:03 PM
As you know, in detonaotr 51.75 exist a emulator of NV40, which called "Stinger".

I'm just test it with basic VP:

!!VP3.0
#Transform vertex to clip space
DP4 o[HPOS].x, c[128], v[OPOS];
DP4 o[HPOS].y, c[129], v[OPOS];
DP4 o[HPOS].z, c[130], v[OPOS];
DP4 o[HPOS].w, c[131], v[OPOS];

MUL o[COL0], v[COL0],c[0];

END

and recieve error after first DP4:
invalid operation:>>o[HPOS].x, c[128], v[OPOS];

Any ideas?
(bugs, syntax is changed or something more?)

Nutty
09-24-2003, 11:26 PM
You need to enable Nv40 emulation, do you know how to do that?

azazello
09-25-2003, 01:11 AM
nvemulate 0x28

//0x28 = 40 :-) - Thanks to Unwider (creator of RivaTuner)

But this is really strange:

I find a code, which is workig with NV_vp3:
it use syntax from ARB_vp.

May be emulator doesn't emulate NV40 correctly, or Nvidia want to chnage a syntax to ARB similar(imagine - all ARB_vp developers can use his code without modification)..

Sure, it is necessary to check on other detonator 50 drivers..

azazello
09-25-2003, 02:22 AM
It was a problem of NV40 emulator...It doesn't have any stable code :-(..