The ARB spec limits this offset to -64…63, or something like that.
It's either 63 or 64. It's probably a limitation from the hardware of
the time the spec was written.
(Unfortunately this has bitten us before because Cg will sometimes
generate these out-of-range offsets... though this is fixed in the
most recent builds.)
On Oct 27, 2007, at 4:33 PM, Stefan Dösinger wrote:
Hello List,
I'm having an odd issue with indirect addressing of constants in
GL_ARB_vertex_program: The involved code looks like this:
At compilation, the OpenGL lib complains: "Error on line 16: out of
range
indirect offset (hint: '+75')"
I don't see 75 beeing out of range here. Is this some known
limitation? Or is
this some unknown bug that needs more investigation? Are there any
workarounds, appart of adding 75 to A0.x?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/jstiles%
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden