Skip to content

anv/blorp: Do CCS_E partial resolve before fast clear on gen12

Wa_1607794140 says:

Before fast clearing any resource, SW must partially resolve
the resource i.e. corresponding CCS for the resource MUST NOT
be in CLEAR state

What's going on here is that starting with gen12 on CCS_E surfaces, the hardware will upgrade a write of a whole block of the clear color to a fast clear. Before we change the clear color, we need to do a partial resolve to get the old clear color into the surface.

Cc: @rantogno @nchery

Edited by Nanley Chery

Merge request reports