summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorMatthew McClure <[email protected]>2013-12-10 13:10:03 -0800
committerJosé Fonseca <[email protected]>2013-12-11 18:24:21 +0000
commite84a1ab3c400f819408a7ebe01c2325cd59d94d3 (patch)
treec99b65fb562865046269d8d48433b30c25fa69dd /src/glx
parent00faf82832f3e6ef886abad246b50cc47b901c1f (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')
0 files changed, 0 insertions, 0 deletions