From dcb4ec5ae1874d57cc668baac483654e0dfeb4aa Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 22 May 2012 13:03:36 -0600 Subject: gallium/docs: beef up the docs related to color clamping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/docs/source/cso/rasterizer.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gallium/docs/source/cso') diff --git a/src/gallium/docs/source/cso/rasterizer.rst b/src/gallium/docs/source/cso/rasterizer.rst index 150e6df88ae..f4e24f0b438 100644 --- a/src/gallium/docs/source/cso/rasterizer.rst +++ b/src/gallium/docs/source/cso/rasterizer.rst @@ -20,6 +20,11 @@ OpenGL: glClampColor(GL_CLAMP_VERTEX_COLOR) in GL 3.0 or GL_ARB_color_buffer_flo D3D11: seems always disabled +Note the PIPE_CAP_VERTEX_COLOR_CLAMPED query indicates whether or not the +driver supports this control. If it's not supported, the state tracker may +have to insert extra clamping code. + + clamp_fragment_color ^^^^^^^^^^^^^^^^^^^^ @@ -30,6 +35,10 @@ OpenGL: glClampColor(GL_CLAMP_FRAGMENT_COLOR) in GL 3.0 or ARB_color_buffer_floa D3D11: seems always disabled +Note the PIPE_CAP_FRAGMENT_COLOR_CLAMPED query indicates whether or not the +driver supports this control. If it's not supported, the state tracker may +have to insert extra clamping code. + Shading ------- -- cgit v1.2.3