Skip to content

iris: Don't memset CCS on integrated gfx12

Nanley Chery requested to merge nchery/mesa:perf/iris-no-memset-mtl-ccs into main

What does this MR do and why?

iris: Don't memset CCS on integrated gfx12 

There are no illegal CCS values on integrated gfx12 platforms.

This MR avoids unnecessary initialization of the CCS on integrated gfx12. For example, before this MR, if the first operation on a surface was a fast-clear, the surface's CCS would have been zeroed via memset (at resource creation time) and then overwritten by the CLEAR value. Now, the initialization step is removed.

Merge request reports