virgl: Generalize resource mapping
Introduce two new functions to the decode context for mapping and unmapping resources. With this we are able to map correctly both GL and Vulkan resources.
Introduce two new functions to the decode context for mapping and unmapping resources. With this we are able to map correctly both GL and Vulkan resources.