summaryrefslogtreecommitdiff
path: root/src/gallium/tools/trace
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-07-01 12:06:37 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-07-01 12:06:58 +0100
commitacc6a141b8976d0615e03c4530b64cefdb1aa199 (patch)
treeff416028b44aa8bdc283015f60560d87c168fd39 /src/gallium/tools/trace
parent0fd71ac9eb4fdcc181a4322f7c8244a858b5740d (diff)
tools/trace: Return dummy fence object to silence warnings.
Diffstat (limited to 'src/gallium/tools/trace')
-rwxr-xr-xsrc/gallium/tools/trace/dump_state.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tools/trace/dump_state.py b/src/gallium/tools/trace/dump_state.py
index f7ac76935e5..9711a661ac0 100755
--- a/src/gallium/tools/trace/dump_state.py
+++ b/src/gallium/tools/trace/dump_state.py
@@ -523,7 +523,8 @@ class Context(Dispatcher):
resource.data[box.x : box.x + box.width] = data
def flush(self, flags):
- pass
+ # Return a fake fence
+ return self.interpreter.call_no
def clear(self, buffers, color, depth, stencil):
pass