projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1ed3d
)
retrace: Add sampler_view_destroy
author
José Fonseca
<jfonseca@vmware.com>
Sun, 2 May 2010 12:04:08 +0000
(13:04 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 2 May 2010 14:32:09 +0000
(15:32 +0100)
src/gallium/tests/python/retrace/interpreter.py
patch
|
blob
|
history
diff --git
a/src/gallium/tests/python/retrace/interpreter.py
b/src/gallium/tests/python/retrace/interpreter.py
index 7118ff85ed84318e9b18696d6e1b6b576967e268..e58a69322eaa302ffc981372e65fdf21fb2015a4 100755
(executable)
--- a/
src/gallium/tests/python/retrace/interpreter.py
+++ b/
src/gallium/tests/python/retrace/interpreter.py
@@
-432,6
+432,9
@@
class Context(Object):
swizzle_b = templ.swizzle_g,
swizzle_a = templ.swizzle_a)
+ def sampler_view_destroy(self, view):
+ pass
+
def set_fragment_sampler_views(self, num, views):
for i in range(num):
self.real.set_fragment_sampler_view(i, views[i])
@@
-456,6
+459,10
@@
class Context(Object):
return elements[0:num_elements]
def bind_vertex_elements_state(self, state):
+ if state is None:
+ self.real.set_vertex_elements(0)
+ return
+
elements = state
num_elements = len(elements)
self.velems = elements