Skip to content
Commit da03ddf6 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Dylan Baker
Browse files

iris: Fix partial fast clear checks to account for miplevel.



We enabled fast clears at level > 0, but didn't minify the dimensions
when comparing the box size, so we always thought it was a partial
clear and as a result never actually enabled any.

This eliminates some slow clears in Civilization VI, but they are mostly
during initialization and not the main rendering.

Thanks to Dan Walsh for noticing we had too many slow clears.

Fixes: 393f659e ("iris: Enable fast clears on other miplevels and layers than 0.")
Reviewed-by: default avatarRafael Antognolli <rafael.antognolli@intel.com>
(cherry picked from commit 30b9ed92)
parent 753ea834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment