PDA

View Full Version : does Cg work in opengl with ATI graphic boards ?



airseb
12-13-2003, 02:33 PM
all is in the question.
thanks.

bunny
12-13-2003, 03:53 PM
Yes. Compile for ARB_FP/ARB_VP profiles

MattS
12-14-2003, 01:21 PM
To qualify that, it will only work on those ATI boards which support ARB_FP and ARB_VP. This does not cover all of ATIs fragment/vertex program hardware. For example it will work on most 9XXX boards but none in previous generations, 8XXX, 7XXX etc.

I found that the Cg runtime does have some bugs which means that you can't use the Cg API to bind attrib streams. The Cg runtime seems to think that an extension it requires is missing. You can circumvent the Cg runtime of course but in the case of attrib streams this actually proves to be a bit of pain, though not impossible.

airseb
12-16-2003, 10:04 AM
for ARB_FP and ARB_VP you speak about ARB_vertex_program and ARB_fragment_program ?

MattS
12-16-2003, 10:58 AM
Yes

airseb
12-18-2003, 10:10 AM
Originally posted by MattS:
Yes

ok thanks guys !