diff options
author | Matthew McClure <[email protected]> | 2013-12-10 13:10:03 -0800 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-12-11 18:24:21 +0000 |
commit | e84a1ab3c400f819408a7ebe01c2325cd59d94d3 (patch) | |
tree | c99b65fb562865046269d8d48433b30c25fa69dd /src/glx/dri2.c | |
parent | 00faf82832f3e6ef886abad246b50cc47b901c1f (diff) |
llvmpipe: add plumbing for ARB_depth_clamp
With this patch llvmpipe will adhere to the ARB_depth_clamp enabled state when
clamping the fragment's zw value. To support this, the variant key now includes
the depth_clamp state. key->depth_clamp is derived from pipe_rasterizer_state's
(depth_clip == 0), thus depth clamp is only enabled when depth clip is disabled.
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/glx/dri2.c')
0 files changed, 0 insertions, 0 deletions