Summary: | gl_FrontColor does not get clamped when FS is enabled | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jiri Svoboda <jirik.svoboda> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jiri Svoboda
2008-08-22 05:17:08 UTC
When a VS is enabled too, the situation is similar. I.e, if the VS does not clamp the color before writing it to gl_FrontColor, then the color doesn't get clamped before interpolation. Again, I believe the FF between vertex and fragment stage should clamp the gl_FrontColor that the VS writes. Again, ATI's implementation seems to do this. Mass version move, cvs -> git This is a driver bug rather than a Mesa core bug. The R300 Gallium3D driver does clamp color varyings to [0,1], so should the classic driver if I didn't miss anything. There is a piglit test for this: glsl-clamp-vertex-color. Closing as it's not a core bug. Feel free to file a new bug against specific drivers. |
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.