CG Runtime and ATI

Sorry slightly OT -
My question is, does the CG runtime work with ATI cards?

In order to remain gpu nuetral is it just better to compile with cgc(or code directly to ARB_Vertex_Program)?

Thanks in advance for any help

Originally posted by azcoder:
Sorry slightly OT -
My question is, does the CG runtime work with ATI cards?

Yes.


In order to remain gpu nuetral is it just better to compile with cgc(or code directly to ARB_Vertex_Program)?

You can link to libCg.so and libCgGL.so and compile from Cg during runtime, or compile offline with no need to link to the above libraries. Both alternatives are GPU neutral (modulo QoI issues).

~velco

BTW, cgc will try to optimize code for NV3x, that considerably differs from R3xx!