Skip to content

lima: set scissor to full fb one when scissor test is disabled

Icenowy Zheng requested to merge icenowy/mesa:scissor-clear into master

The PLBU will remember what scissor is set up. When the scissor test is disabled, the remembered scissor should be set to full fb one to disable scissor, otherwise the scissor still applies.

Fix this by checking the status of scissor test when setting scissor, and set full fb scissor if scissor test disabled.

Signed-off-by: Icenowy Zheng icenowy@aosc.io

Merge request reports