commit | c0874947f17b22af49e77f2fb15491c98e8cfd56 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Jul 05 02:55:57 2018 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Wed Jul 11 11:23:20 2018 -0700 |
tree | 3e86ab3212fa64702d13023e3ac013e2507542b9 | |
parent | be5fc0d7f114250d37597b38ef53711f2f66bc4f [diff] |
st/mesa: Only enable depth writes if the function isn't EQUAL. If the depth function is EQUAL, then we'll only write the depth value when it already matches what's in the buffer, which is pointless. Skipping these writes can save bandwidth. The state tracker can easily take care of this, so all drivers benefit. Reviewed-by: Marek Olšák <marek.olsak@amd.com>