Bug 23975 - Support larger range of relative address offsets in assembly shaders
Summary: Support larger range of relative address offsets in assembly shaders
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium enhancement
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 08:15 UTC by Ian Romanick
Modified: 2010-08-03 15:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.