svga: Add function svga_resource_type()
authorNeha Bhende <bhenden@vmware.com>
Thu, 1 Sep 2016 16:40:43 +0000 (09:40 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 17 Sep 2016 16:08:59 +0000 (10:08 -0600)
commitb9f333cc8167594fa2c73a763a4e70ddf98e885f
tree308d80d2ab3f7936434a3634c6f9b62ceae90826
parent50baaf6bc624e78f6d92f2316a370e11d4c4d882
svga: Add function svga_resource_type()

This function returns svga texture type for corresponding pipe texture.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_surface.c
src/gallium/drivers/svga/svga_surface.h