diff options
author | Dave Airlie <[email protected]> | 2017-03-02 21:39:10 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-07-17 01:44:43 +0100 |
commit | 9ee67467c9ea592340aee10a55ba54d7266ff0a9 (patch) | |
tree | 4588211428eb7a5f369bd0ac3629f32d34863d8a /src/gallium/drivers/ddebug | |
parent | 8eed291c2c4bfaddf256dcdb10bfa95bfe2b7c58 (diff) |
radv: predicate cmask eliminate when using DCC.
When using DCC some clear values don't require a cmask eliminate
step. This patch adds support for black and black with alpha 1,
there are other values, but I don't have access to a comprehensive list.
This works by setting the cmask eliminate predicate when doing the
fast clear, and later when doing the cmask elimination making sure
the draws are predicated.
This increases the fps on Sascha Willems deferred.
Tonga: 580fps->670fps on a Tonga PRO card.
Polaris 730->850fps
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug')
0 files changed, 0 insertions, 0 deletions