Unigine Tropics MSAA failure
Tested on both nv50 and nvc0 drivers, but I suspect the issue applies more widely. When enabling MSAA (only tried 4x so far), the water turns black, and sky is black-ish as well. A bisect reveals:
commit 81e6f6ef0cd51187d38421b90dee868cff5de33f (refs/bisect/bad)
Author: Marek Olsak <maraeo@gmail.com>
Date: Sat Dec 19 19:55:59 2020 -0500
mesa: don't push/pop default texture attributes redundantly
Since default texture objects are bound in almost all texture units and all
texture targets, we can skip saving and restoring their attributes if we
just do that for default texture objects outside the loop saving all texture
units.
This reduces CPU time spent in glPushAttrib from 2.1% to 1.35% in one
subtest of viewperf13/catia.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8181>
Edited by Ilia Mirkin