From: Skybuck Flying on
Hello,

I have a little question about GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV.

On my NVIDIA GTX 7900 it returns: 4530371

Does this mean each fragment can execute 4.5 million instructions before
being terminated ?

Or does this mean all fragments together can execute at most 4.5 millions
instructions before being terminated ?

So is this limitation "per pixel" or "per frame" ???

Bye,
Skybuck.


From: Skybuck Flying on
Hmm to answer my own question... I guess it's per pixel...

Since a frame can be 1920x1200 pixels... which would be: 2304000

So if it were 4.5 million in total.. then that would only be roughly 2
instructions per pixel which would be pretty crappy ;)

So I think it's 4.5 million per pixel ! ;)

Bye,
Skybuck.