diff options
author | Brian Paul <[email protected]> | 2012-05-22 13:03:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-05-25 10:02:22 -0600 |
commit | dcb4ec5ae1874d57cc668baac483654e0dfeb4aa (patch) | |
tree | f6c57873f40a44a338fa037e5113741228193ab3 /src/gallium/docs/source/cso | |
parent | 9c8568743935f0892bb5bd33f5a5210bae53b8d3 (diff) |
gallium/docs: beef up the docs related to color clamping
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/cso')
-rw-r--r-- | src/gallium/docs/source/cso/rasterizer.rst | 9 |
1 files changed, 9 insertions, 0 deletions
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 ------- |