[Mesa-dev] [Bug 32944] st/mesa: fog is broken in demos/drawpix

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 2 10:37:14 PST 2011


Brian Paul <brianp at vmware.com> changed:

           What    |Removed                     |Added
           Severity|normal                      |minor
           Priority|medium                      |low

--- Comment #4 from Brian Paul <brianp at vmware.com> 2011-03-02 10:37:14 PST ---
Looks like the vertex shader isn't passing the fog coordinate to the fragment
shader.  In st_cb_drawpix.c the make_passthrough_vertex_shader() function also
needs to take a 'fog' parameter and emit a fog result, either computed from the
current fog coordinate or as a function of the vertex Z position.

I don't think many people depend on fog with glDrawPixels so this is low

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

More information about the mesa-dev mailing list