svga: add sample count to the surface_can_create interface
authorCharmaine Lee <charmainel@vmware.com>
Tue, 26 Sep 2017 23:23:58 +0000 (16:23 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit8088cb6f53ddf6313fefce2789f657e595f3a489
tree637241e4bc8eb0fd78460af9c94ad53bf5356b28
parent4a1976bfcf4b4843369aa9146af48ac8bf9e70d8
svga: add sample count to the surface_can_create interface

With this patch, sample count is also taken into account
when determining if a resource can be created.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_resource.c
src/gallium/drivers/svga/svga_winsys.h
src/gallium/winsys/svga/drm/vmw_screen_svga.c