summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer/pb_validate.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-12-12 12:05:39 +0000
committerKeith Whitwell <[email protected]>2008-12-12 12:05:39 +0000
commitaef455c4a7bbd7df97a6444ae332cb5fb976e627 (patch)
tree11997606ea3824dddd445b5c73c0b604dff345a9 /src/gallium/auxiliary/pipebuffer/pb_validate.h
parent9b3bce6bed36a37293cd67ed4e9a05dd6e1c9d80 (diff)
Revert "pipebuffer: Implement proper buffer validation."
This reverts commit a6d866f72c88d48d2bcfb3e3c882fdb639b5a8ce.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_validate.h')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_validate.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_validate.h b/src/gallium/auxiliary/pipebuffer/pb_validate.h
index dfb84df1cef..3db1d5330b9 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_validate.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_validate.h
@@ -58,13 +58,7 @@ struct pb_validate;
enum pipe_error
pb_validate_add_buffer(struct pb_validate *vl,
- struct pb_buffer *buf,
- unsigned flags);
-
-enum pipe_error
-pb_validate_foreach(struct pb_validate *vl,
- enum pipe_error (*callback)(struct pb_buffer *buf, void *data),
- void *data);
+ struct pb_buffer *buf);
/**
* Validate all buffers for hardware access.
@@ -77,7 +71,7 @@ pb_validate_validate(struct pb_validate *vl);
/**
* Fence all buffers and clear the list.
*
- * Should be called right after issuing commands to the hardware.
+ * Should be called right before issuing commands to the hardware.
*/
void
pb_validate_fence(struct pb_validate *vl,