diff options
author | Kenneth Graunke <[email protected]> | 2018-07-05 02:55:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-07-11 11:23:20 -0700 |
commit | c0874947f17b22af49e77f2fb15491c98e8cfd56 (patch) | |
tree | 3e86ab3212fa64702d13023e3ac013e2507542b9 /src/amd/vulkan/radv_meta_clear.c | |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_clear.c')
0 files changed, 0 insertions, 0 deletions