From 8109b6d31367986a2c4a8ad82dadd9c0db61b6c3 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Fri, 5 Feb 2010 19:04:11 -0500 Subject: [PATCH] gallium/python: support two more formats in retrace dumps dump PIPE_FORMAT_R8G8B8A8_UNORM and PIPE_FORMAT_R16G16B16_SNORM formats. --- src/gallium/state_trackers/python/retrace/interpreter.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.30.2