summaryrefslogtreecommitdiff
path: root/progs/gallium/python/retrace
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-17 16:44:38 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-17 16:44:38 +0100
commit464a72dd4154f314e08c9d0c4d07417e2bf255f0 (patch)
tree182319c2a6a98b69c54bccb6c699b3f1090e352b /progs/gallium/python/retrace
parentc2ad9e380121d43f8ac066b590f9929a56bd1b0f (diff)
gallium: remove redundant nr_components field from pipe_vertex_element
This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead.
Diffstat (limited to 'progs/gallium/python/retrace')
-rwxr-xr-xprogs/gallium/python/retrace/interpreter.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/progs/gallium/python/retrace/interpreter.py b/progs/gallium/python/retrace/interpreter.py
index 2db71a212f..52c08abdd3 100755
--- a/progs/gallium/python/retrace/interpreter.py
+++ b/progs/gallium/python/retrace/interpreter.py
@@ -551,7 +551,6 @@ class Context(Object):
data = vbuf.buffer.read()
values = unpack_from(format, data, offset)
sys.stdout.write('\t\t{' + ', '.join(map(str, values)) + '},\n')
- assert len(values) == velem.nr_components
sys.stdout.write('\t},\n')
sys.stdout.flush()