Skip to content

panfrost: Return a large number for passing occlusion queries

Icecream95 requested to merge icecream95/mesa:occlusion-bignum into master

Precise occlusion queries don't work, so they were previously treated like a boolean query and 0 or 1 was returned.

Some games have a threshold for the occlusion query value to draw objects, so instead return an arbitrary large number (65536) for passing queries.

Merge request reports

Loading