[Mesa-dev] [Bug 75068] GL_COLOR not handled in GL_ARB_vertex_program MatrixMode() function

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 16 15:40:57 PST 2014


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

Kenneth Graunke <kenneth at whitecape.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
Yes, that was intentionally removed in 2010:

commit 73578ba9c4938db3a23198c3a2ddf843cfc4f700
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 9 16:58:48 2010 -0700

    mesa: Remove SGI_color_matrix.

    Another optional ARB_imaging subset extension.

Passing GL_COLOR to MatrixMode refers to the color matrix stack, which doesn't
exist without either GL_SGI_color_matrix or GL_ARB_imaging, which are optional
extensions that Mesa doesn't support.

Raising INVALID_ENUM here seems like the only sensible option for drivers that
want to implement ARB_vertex_program but not the other optional deprecated
extensions from the 1990s.

We've talked to Valve about this in the past, and discovered that Source engine
games don't use the color matrix stack.  However, the Steam overlay tries to
save and restore it, for compatibility with games that do use it.  They claim
to properly handle the GL error, so it's just (a lot of) spam.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140216/2369ef9c/attachment.html>


More information about the mesa-dev mailing list