commit | d7707ef5a554ca0a1ec17b9491055e8c8db570c4 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Wed Apr 04 16:04:00 2012 -0600 |
committer | Brian Paul <brianp@vmware.com> | Fri Apr 06 14:10:50 2012 -0600 |
tree | 73f1d4ec53f37b8aade0aa32b5c7d5edf6e474d8 | |
parent | 0adc5d9cfdd94bc5cbc3d45b9ada3d13ac4adb7c [diff] |
svga: return 1 for PIPE_CAP_VERTEX_COLOR_UNCLAMPED query Before, we weren't clamping the vertex colors produced by ARB vertex programs. This could result in some rendering being too bright (in ETQW, for example). Also add cases for PIPE_CAP_VERTEX_COLOR_CLAMPED and PIPE_CAP_FRAGMENT_COLOR_CLAMPED with comments to be complete. Reviewed-by: José Fonseca <jfonseca@vmware.com>