aboutsummaryrefslogtreecommitdiffstats
path: root/progs/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'progs/gallium')
-rwxr-xr-xprogs/gallium/python/retrace/interpreter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/gallium/python/retrace/interpreter.py b/progs/gallium/python/retrace/interpreter.py
index a34122e0e0f..2db71a212f6 100755
--- a/progs/gallium/python/retrace/interpreter.py
+++ b/progs/gallium/python/retrace/interpreter.py
@@ -376,6 +376,9 @@ class Context(Object):
pass
def create_blend_state(self, state):
+ if isinstance(state, str):
+ state = gallium.Blend(state)
+ sys.stdout.write('\t%s\n' % state)
return state
def bind_blend_state(self, state):