nv50,nvc0: add invalidate_resource support for buffer resources
[mesa.git] / src / gallium / drivers / nouveau / nouveau_buffer.h
index d45bf7aebcfbc397603b54a046407fd230414fb8..3a33fae9ce2fa3fd668d52f9010945aca4fef60a 100644 (file)
@@ -99,6 +99,10 @@ bool
 nouveau_user_buffer_upload(struct nouveau_context *, struct nv04_resource *,
                            unsigned base, unsigned size);
 
+void
+nouveau_buffer_invalidate(struct pipe_context *pipe,
+                          struct pipe_resource *resource);
+
 /* Copy data to a scratch buffer and return address & bo the data resides in.
  * Returns 0 on failure.
  */