http://bugs.freedesktop.org/show_bug.cgi?id=23946





--- Comment #2 from Brian Paul <[email protected]>  2009-09-14 16:43:44 
PST ---
There's another issue but it's a problem with Wine.

The following vertex program is illegal:

!!ARBvp1.0
PARAM C[66] = { program.env[0..65] };
ADDRESS A0;PARAM zero = {0.0, 0.0, 0.0, 0.0};
ARL A0.x, zero.x;
MOV result.position, C[A0.x + 65];
END

The problem is the offset in "A0.x + 65" is too large.

>From the GL_ARB_vertex_program specification:

"""
(26) What limits should be imposed on the constants that can be added to
or subtracted from the address register for relative addressing?  Negative
offsets are sometimes useful for shifting down in an array.

  RESOLVED:  -64 to +63 should be sufficient for the time being.  Offset
  sizes are limited to allow offsets to be baked into device-dependent
  instruction encodings.
"""

So 65 is illegal according to the GL spec, but when I tested with NVIDIA's
driver, offsets up to 255 work without error.  Hmmm.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to