Skip to content
Snippets Groups Projects
Commit 1c8bcad8 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Marge Bot
Browse files

gallium: add pipe cap for scissored clears and pass scissor state to clear() hook


this adds a new pipe cap that drivers can support which enables passing buffer
clears with scissor test enabled through to be handled by the driver instead
of having mesa draw a quad

also adjust all existing clear() hooks to have the new parameter

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: default avatarKristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Part-of: <!4310>
parent 882928dc
No related branches found
No related tags found
Loading
Showing
with 40 additions and 13 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment