diff options
author | Roland Scheidegger <[email protected]> | 2010-02-17 16:44:38 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-02-17 16:44:38 +0100 |
commit | 464a72dd4154f314e08c9d0c4d07417e2bf255f0 (patch) | |
tree | 182319c2a6a98b69c54bccb6c699b3f1090e352b /progs | |
parent | c2ad9e380121d43f8ac066b590f9929a56bd1b0f (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')
-rwxr-xr-x | progs/gallium/python/retrace/interpreter.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/progs/gallium/python/retrace/interpreter.py b/progs/gallium/python/retrace/interpreter.py index 2db71a212f6..52c08abdd37 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() |