Skip to content

radv: Always enable PERFECT_ZPASS_COUNTS.

Bas Nieuwenhuizen requested to merge bnieuwenhuizen/mesa:zpass into master

We have an issue with early depth testing and discard, where non-perfect counts count the tile if the early depth test succeeds.

We could spend a lot of effort to set this conditionally based on the presence of the two conditions, but in the presence of inherited queries let's try this first.

Changing PERFECT_ZPASS_COUNTS since I'm pretty sure this has a lower performance impact than always using late depth testing.

CC: Closes: #3218 (closed)

Merge request reports