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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.