summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_pipe_blit.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-08-17 08:31:20 -0600
committerBrian Paul <brianp@vmware.com>2016-08-17 12:53:20 -0600
commit18e6e0796a6b0d714e58ca95d70cff2bbb2027e1 (patch)
treebdf8d3edf0e5d556f0595b89e82c6e7d26a7ce0d /src/gallium/drivers/svga/svga_pipe_blit.c
parent55417140cd2457a2fec7b87fffe9e25eabbb2ca9 (diff)
downloadexternal_mesa3d-18e6e0796a6b0d714e58ca95d70cff2bbb2027e1.zip
external_mesa3d-18e6e0796a6b0d714e58ca95d70cff2bbb2027e1.tar.gz
external_mesa3d-18e6e0796a6b0d714e58ca95d70cff2bbb2027e1.tar.bz2
svga: fix src/dst typo in can_blit_via_copy_region_vgpu10()
The function was always returning false because of this typo. Retested with piglit. There's some sRGB-related blit failures, but that seems unrelated. Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Neha Bhende <bhenden@vmware.com>
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_blit.c')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_blit.c b/src/gallium/drivers/svga/svga_pipe_blit.c
index 1f6382e..9d8c4fe 100644
--- a/src/gallium/drivers/svga/svga_pipe_blit.c
+++ b/src/gallium/drivers/svga/svga_pipe_blit.c
@@ -223,7 +223,7 @@ can_blit_via_copy_region_vgpu10(struct svga_context *svga,
return false;
stex = svga_texture(blit_info->src.resource);
- dtex = svga_texture(blit_info->src.resource);
+ dtex = svga_texture(blit_info->dst.resource);
// can't copy within one resource
if (stex->handle == dtex->handle)