From the previous discussion on ‘for’ loops I was under the impression that looping that terminates on, say, a “uniform” was supported on NV 6800 in the fragment shader.
I have the plain vanilla 6800. Any ‘for’ loop works fine in a vertex shader. ‘for’ loops that terminate based on a constant work fine in fragment shaders. A ‘for’ loop in a fragment shader that terminates based on a ‘uniform’ coughs up:
error C5013: profile does not support “for” statements
I have the latest drivers off the nVidia site.
To be supported in the future? SOL?
Oh, and while I’m at it… I know this has been asked before but I couldn’t find it. How do you determine if you shaders are running on the hardware or are falling back to software?