gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL
authorMarek Olšák <maraeo@gmail.com>
Sat, 26 Mar 2011 12:19:23 +0000 (13:19 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 29 Mar 2011 10:50:27 +0000 (12:50 +0200)
commit8d4ec87d7f987b3852dafa6802815bb9a3ec7ad4
treebcf0406b689bf8d7b38eb669da023bfe68b65c23
parente28fe8fe5d05c87a065f8e72adef8b5077da2c73
gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL

The vertex color clamp control is a property of an API,
a lot like gl_rasterization_rules.

The state should be set according to the API being implemented, for example:
   OpenGL Compatibility: enabled by default
   OpenGL Core: disabled by default
   D3D11: always disabled

This patch also changes the way ARB_color_buffer_float is advertised.
If no SNORM or FLOAT render target is supported, fragment color clamping
is not required.
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c