diff options
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_blit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_blit.c b/src/gallium/drivers/svga/svga_pipe_blit.c index 054e3f5a1c0..3e236fc6d55 100644 --- a/src/gallium/drivers/svga/svga_pipe_blit.c +++ b/src/gallium/drivers/svga/svga_pipe_blit.c @@ -82,7 +82,11 @@ copy_region_vgpu10(struct svga_context *svga, struct pipe_resource *src_tex, assert(ret == PIPE_OK); } + /* Mark the texture subresource as defined. */ svga_define_texture_level(dtex, dst_face, dst_level); + + /* Mark the texture subresource as rendered-to. */ + svga_set_texture_rendered_to(dtex, dst_face, dst_level); } |