summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource.h')
-rw-r--r--src/gallium/drivers/i915/i915_resource.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_resource.h b/src/gallium/drivers/i915/i915_resource.h
index 77fe8b70f79..0afd09501c6 100644
--- a/src/gallium/drivers/i915/i915_resource.h
+++ b/src/gallium/drivers/i915/i915_resource.h
@@ -129,4 +129,10 @@ struct pipe_resource *
i915_buffer_create(struct pipe_screen *screen,
const struct pipe_resource *template);
+void
+i915_buffer_subdata(struct pipe_context *rm_ctx,
+ struct pipe_resource *resource,
+ unsigned usage, unsigned offset,
+ unsigned size, const void *data);
+
#endif /* I915_RESOURCE_H */