aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-02-05 19:04:11 -0500
committerZack Rusin <[email protected]>2010-02-05 19:29:34 -0500
commit8109b6d31367986a2c4a8ad82dadd9c0db61b6c3 (patch)
tree1985d7dce18b89e65f899e032f2a4a92a3c051bf /src/gallium/state_trackers/python
parent337d3b2b391c50130fa825ee853a570e1a84d309 (diff)
gallium/python: support two more formats in retrace dumps
dump PIPE_FORMAT_R8G8B8A8_UNORM and PIPE_FORMAT_R16G16B16_SNORM formats.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/interpreter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py
index b61d47d6456..f9b330e5c7b 100755
--- a/src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/src/gallium/state_trackers/python/retrace/interpreter.py
@@ -534,6 +534,8 @@ class Context(Object):
gallium.PIPE_FORMAT_R32G32B32_FLOAT: '3f',
gallium.PIPE_FORMAT_R32G32B32A32_FLOAT: '4f',
gallium.PIPE_FORMAT_B8G8R8A8_UNORM: '4B',
+ gallium.PIPE_FORMAT_R8G8B8A8_UNORM: '4B',
+ gallium.PIPE_FORMAT_R16G16B16_SNORM: '3h',
}[velem.src_format]
data = vbuf.buffer.read()