[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 10 12:10:35 PDT 2010


--- Comment #7 from Ian Romanick <idr at freedesktop.org> 2010-08-10 12:10:35 PDT ---
(In reply to comment #2)
> The range of relative addressing offsets was increased to allow Wine apps to
> run.  Other GL drivers allow offsets outside the [-64,63] range too.  We should
> probably remove that piglit test, or have it generate a warning rather than a
> failure.

I have two major problems with this.

1. There is no way to query this limit.  The spec sets the limit at [-64,63],
so that is the only portable thing an application can use.  Relying on
unspecified API behavior is a slippery slope.

2. By accepting larger limits, we accept shaders that other spec compliant
implementations (e.g., Apple) reject on the same piece of hardware.  So much
for OpenGL being a portable abstraction layer.

Quite frankly, if an application wants more than what ARB_vertex_program can
provide, it should either use GLSL or use one of the Nvidia extensions that
explicitly provide larger limits.

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

More information about the mesa-dev mailing list