[Mesa-dev] [PATCH 0/2] ARB_color_buffer_float follow-ups
maraeo at gmail.com
Sat Mar 26 06:13:01 PDT 2011
These two small patches are follow-ups to the ARB_color_buffer_float work. The second patch removes PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL, because it's more of an API property than a state.
On a side note, there are yet a few things that can be done:
- If anyone requires clamp_fragment_color to be in pipe_blend_state, I will move it there. It more or less depends on what hardware drivers prefer.
- We can later implement a fallback path for clamp_fragment_color in the state tracker if it turns out most hardware drivers can't do it.
Marek Olšák (2):
mesa: clamp texture border color if ARB_texture_float is unsupported
gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL
src/gallium/include/pipe/p_defines.h | 1 -
src/mesa/main/texparam.c | 16 ++++++++++++----
src/mesa/state_tracker/st_extensions.c | 30 ++++++++++++++++++++++++++----
3 files changed, 38 insertions(+), 9 deletions(-)
More information about the mesa-dev