Module: Mesa
Branch: master
Commit: 8109b6d31367986a2c4a8ad82dadd9c0db61b6c3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8109b6d31367986a2c4a8ad82dadd9c0db61b6c3

Author: Zack Rusin <za...@vmware.com>
Date:   Fri Feb  5 19:04:11 2010 -0500

gallium/python: support two more formats in retrace dumps

dump PIPE_FORMAT_R8G8B8A8_UNORM and PIPE_FORMAT_R16G16B16_SNORM formats.

---

 .../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 b61d47d..f9b330e 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()

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to