summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2016-08-20 04:03:11 +0200
committerRoland Scheidegger <[email protected]>2016-08-20 04:05:33 +0200
commit0849621891041498c7438080338ccea562440a9a (patch)
treeaef2cd8e6eccaa8386c6decff0c9e6e332efc73f /Makefile.am
parentb0a647f284b24ca4e0ee1f70c4839d8ec3d1a4e6 (diff)
llvmpipe: fix issues with depth clamp
We only did depth clamp when the value was written from the fs. This is very wrong both for d3d10 and GL, and only passed the corresponding piglit test due to pure luck (it no longer does with the enhanced test). Also, interpolation clamped values to 1.0 always, which can legitimately happen if depth clip is disabled, so fix that as well (untested). There is one unresolved issue left, d3d10 always does depth clamping, whereas GL does not (but does [0,1] clamp instead for fs depth outputs) - this information isn't in any gallium state object, leave it as-is for now (though it looks like llvmpipe misses the [0,1] clamp as well). This (with the previous patch) fixes piglit depth-clamp-range test. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions