summaryrefslogtreecommitdiffstats
path: root/src/gallium/tools
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
parent0fd71ac9eb4fdcc181a4322f7c8244a858b5740d (diff)
downloadexternal_mesa3d-acc6a141b8976d0615e03c4530b64cefdb1aa199.zip
external_mesa3d-acc6a141b8976d0615e03c4530b64cefdb1aa199.tar.gz
external_mesa3d-acc6a141b8976d0615e03c4530b64cefdb1aa199.tar.bz2
tools/trace: Return dummy fence object to silence warnings.
Diffstat (limited to 'src/gallium/tools')
-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 f7ac769..9711a66 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