summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer/pb_validate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_validate.h')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_validate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_validate.h b/src/gallium/auxiliary/pipebuffer/pb_validate.h
index 3db1d5330b..1da7b1a6cf 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_validate.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_validate.h
@@ -61,6 +61,14 @@ pb_validate_add_buffer(struct pb_validate *vl,
struct pb_buffer *buf);
/**
+ * Helper for pipe_context::is_texture_referenced and
+ * pipe_context::is_buffer_referenced
+ */
+unsigned
+pb_validate_is_buffer_referenced(struct pb_validate *vl,
+ struct pb_buffer *buf);
+
+/**
* Validate all buffers for hardware access.
*
* Should be called right before issuing commands to the hardware.