Summary: | GL_COLOR not handled in GL_ARB_vertex_program MatrixMode() function | ||
---|---|---|---|
Product: | Mesa | Reporter: | Benjamin Bellec <b.bellec> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | minor | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Benjamin Bellec
2014-02-16 23:13:20 UTC
Yes, that was intentionally removed in 2010: commit 73578ba9c4938db3a23198c3a2ddf843cfc4f700 Author: Eric Anholt <eric@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. |
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.