mesa: Fix detection of invalidating both depth and stencil.
authorEric Anholt <eric@anholt.net>
Mon, 13 Jan 2020 21:06:01 +0000 (13:06 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jan 2020 23:37:54 +0000 (23:37 +0000)
commit3be4b89c038554ceb95ba24c00f50c0f2db3a646
treeb400f029e58f4e99fc058bb234bfc85d406fc489
parent1c6a2efa06e9bb5914f4557118930fc61065a467
mesa: Fix detection of invalidating both depth and stencil.

Fixes an extra 1024x1024x4 MSAA Z/S store on WebGL fishtank on cheza.

Reported-by: Dave Airlie <airlied@redhat.com>
Fixes: db2ae5112106 ("mesa: Skip partial InvalidateFramebuffer of packed depth/stencil.")
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3370>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3370>
src/mesa/main/fbobject.c