virgl: factor out format host bits check
[mesa.git] / src / gallium / drivers / virgl / virgl_context.h
index b0fa03ca49940023ca68498af1d76366f7f136fc..70807c5256cd3431987cd905a15c13dba6df7441 100644 (file)
@@ -128,4 +128,12 @@ void virgl_init_so_functions(struct virgl_context *vctx);
 
 struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens_in);
 
+bool
+virgl_can_rebind_resource(struct virgl_context *vctx,
+                          struct pipe_resource *res);
+
+void
+virgl_rebind_resource(struct virgl_context *vctx,
+                      struct pipe_resource *res);
+
 #endif