diff options
author | Zack Rusin <zackr@vmware.com> | 2010-02-05 19:04:11 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2010-02-05 19:29:34 -0500 |
commit | 8109b6d31367986a2c4a8ad82dadd9c0db61b6c3 (patch) | |
tree | 1985d7dce18b89e65f899e032f2a4a92a3c051bf /src/gallium | |
parent | 337d3b2b391c50130fa825ee853a570e1a84d309 (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')
-rwxr-xr-x | src/gallium/state_trackers/python/retrace/interpreter.py | 2 |
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 b61d47d645..f9b330e5c7 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() |