Bug 23975

Summary: Support larger range of relative address offsets in assembly shaders
Product: Mesa Reporter: Ian Romanick <idr>
Component: Mesa coreAssignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: sa
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ian Romanick 2009-09-16 08:15:22 UTC
The GL_ARB_vertex_program spec says that relative offsets are limited to the range [-64, 63].  However, it seems that all implementations except Mesa support a much larger range.  Some applications, such as Wine, rely on this behavior.  Mesa should match what the other guys do here.

See the discussion in bug #23946.
Comment 1 Sven Arvidsson 2010-02-04 13:33:41 UTC
Was this fixed already? 

At least the the test case for Wine in bug #23946 seems to be working quite well now (except for the "glare" filter)
Comment 2 Marek Olšák 2010-08-03 15:28:58 UTC
I've increased the offset range to -4096/4095 in the parser by commit 0614006d090902324149387ec150231b647928fd. Closing..

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.