[Mesa-dev] [PATCH 2/2] svga: fix src/dst typo in can_blit_via_copy_region_vgpu10()
Neha Bhende
bhenden at vmware.com
Wed Aug 17 17:43:50 UTC 2016
Looks good to me.
Reviewed-by: Neha Bhende <bhenden at vmware.com>
Regards,
Neha
________________________________
From: Brian Paul <brianp at vmware.com>
Sent: Wednesday, August 17, 2016 7:40:13 AM
To: mesa-dev at lists.freedesktop.org
Cc: Charmaine Lee; Neha Bhende
Subject: [PATCH 2/2] 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.
---
src/gallium/drivers/svga/svga_pipe_blit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160817/1298055d/attachment.html>
More information about the mesa-dev
mailing list