diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c index 97bc4f2c9fe..b524eb9603b 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c @@ -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;