diff options
author | José Fonseca <[email protected]> | 2010-12-02 12:17:07 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-12-02 12:17:07 +0000 |
commit | 27ba2eb33b83a3596e96dbd791d86d118617df26 (patch) | |
tree | 760e2af39ea42fdb2e3dc7ac43774dce98eaec06 /src/gallium | |
parent | cb2791213a660dc39c22872ea9095bdfaa61aae4 (diff) |
retrace: Some fixes.
Diffstat (limited to 'src/gallium')
-rwxr-xr-x | src/gallium/tests/python/retrace/interpreter.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/tests/python/retrace/interpreter.py b/src/gallium/tests/python/retrace/interpreter.py index 8451ade2749..84371223f66 100755 --- a/src/gallium/tests/python/retrace/interpreter.py +++ b/src/gallium/tests/python/retrace/interpreter.py @@ -573,7 +573,7 @@ class Context(Object): if transfer and usage & gallium.PIPE_TRANSFER_READ: if self.interpreter.options.all: surface = texture.get_surface(sr.face, sr.level, box.z) - self.interpreter.present(self.real, transfer.surface, 'transf_read', box.x, box.y, box.w, box.h) + self.interpreter.present(self.real, transfer.surface, 'transf_read', box.x, box.y, box.width, box.height) return transfer def tex_transfer_destroy(self, transfer): @@ -581,6 +581,10 @@ class Context(Object): def transfer_inline_write(self, resource, sr, usage, box, stride, slice_stride, data): self.real.transfer_inline_write(resource, sr, usage, box, data, stride, slice_stride) + if self.interpreter.options.all: + for z in range(box.z, box.z + box.depth): + surface = resource.get_surface(sr.face, sr.level, box.z) + self.interpreter.present(self.real, surface, 'transf_inline_write%u' % z, box.x, box.y, box.width, box.height) def _set_dirty(self): if self.interpreter.options.step: |