mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
nv50: initialize target for blit source surfaces
This target is used to determine whether MS scaling factors are to be
uploaded.
Fixes: 1288ac7632 ("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>
This commit is contained in:
parent
208250b376
commit
38371ff628
1 changed files with 1 additions and 0 deletions
|
|
@ -1157,6 +1157,7 @@ nv50_blit_set_src(struct nv50_blitctx *blit,
|
|||
|
||||
target = nv50_blit_reinterpret_pipe_texture_target(res->target);
|
||||
|
||||
templ.target = target;
|
||||
templ.format = format;
|
||||
templ.u.tex.first_level = templ.u.tex.last_level = level;
|
||||
templ.u.tex.first_layer = templ.u.tex.last_layer = layer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue