Skip to content

tu: Disable LRZ write when alpha-to-coverage is enabled

Alpha-to-coverage acts like discard and happens after FS ends, so like with discard LRZ write should be disabled. With discard we don't know at the moment of binning whether fragment would be not discarded, so we cannot write its depth to LRZ.

Closes: #6876 (closed)

Cc: mesa-stable

--

Also removed fs->no_earlyz || fs->writes_pos since they just fully disable LRZ.

Merge request reports