int vrend_renderer_create_ctx0_fence(uint32_t fence_id)
{
   void *fence_cookie = (void *)(uintptr_t)fence_id;
   return vrend_renderer_create_fence(vrend_state.ctx0,
         VIRGL_RENDERER_FENCE_FLAG_MERGEABLE, fence_cookie);
}
int vrend_renderer_create_ctx0_fence(uint32_t fence_id)
{
   void *fence_cookie = (void *)(uintptr_t)fence_id;
   return vrend_renderer_create_fence(vrend_state.ctx0,
         VIRGL_RENDERER_FENCE_FLAG_MERGEABLE, fence_cookie);
}