mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
svga: src surface for IntraSurfaceCopy cannot be multisample
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>
This commit is contained in:
parent
026e1ad7bb
commit
5f14444184
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue