[Mesa-dev] [Bug 25994] [GM45][GLSL] 'return' statement in vertex shader unsupported

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 18 21:47:09 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=25994

Eric Anholt <eric at anholt.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[GM45][GLSL] 'return'       |[GM45][GLSL] 'return'
                   |statement in vertex shader  |statement in vertex shader
                   |may cause GPU hang          |unsupported
           Severity|major                       |normal

--- Comment #14 from Eric Anholt <eric at anholt.net> 2010-08-18 21:47:09 PDT ---
I've added glsl-vs-main-return and glsl-fs-main-return to piglit to test the
return from main() behavior.  This is the first time I've seen that used in a
shader.  The 965 driver in mesa master now rejects these shaders until we get
the codegen fixed up to handle it, so it won't hang.

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


More information about the mesa-dev mailing list