nv50: initialize target for blit source surfaces
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 21 Mar 2021 05:47:36 +0000 (01:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 15:20:45 +0000 (15:20 +0000)
commit38371ff6286df9108dfbfdb4e1d9cbcf12eff918
tree7eec5f99e18baf8c7306ed4fabd8d2faf2648c03
parent208250b3765600681b768057d4772f5bb38f186d
nv50: initialize target for blit source surfaces

This target is used to determine whether MS scaling factors are to be
uploaded.

Fixes: 1288ac7632b3 ("nv50: don't try to upload MSAA settings for BUFFER textures")
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9740>
src/gallium/drivers/nouveau/nv50/nv50_surface.c