projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026e1ad
)
svga: src surface for IntraSurfaceCopy cannot be multisample
author
Charmaine Lee
<charmainel@vmware.com>
Sat, 2 Dec 2017 04:59:42 +0000
(20:59 -0800)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000
(13:07 -0600)
Fixes SVGA Driver Errors with piglit test arb_copy_image-targets
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_pipe_blit.c
b/src/gallium/drivers/svga/svga_pipe_blit.c
index a3579ba98c2b0fb48df413201d3c5d13d579b242..55eee9220bf5485bb093d7bee7ef1dad45b9c73a 100644
(file)
--- a/
src/gallium/drivers/svga/svga_pipe_blit.c
+++ b/
src/gallium/drivers/svga/svga_pipe_blit.c
@@
-350,6
+350,10
@@
can_blit_via_intra_surface_copy(struct svga_context *svga,
if (!svga_have_vgpu10(svga))
return false;
+ /* src surface cannot be multisample */
+ if (blit_info->src.resource->nr_samples > 1)
+ return false;
+
if (!sws->have_intra_surface_copy)
return false;