diff options
author | Jakob Bornecrantz <[email protected]> | 2008-06-13 19:07:29 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-06-13 19:07:29 +0200 |
commit | d1397fd779ce63416bb59662a3c96f9c0a6ef7f5 (patch) | |
tree | 493d3b07e40d15e69e05db1de010e279fa6cf20d /src/gallium/drivers | |
parent | c341094921da7c4ff30f81706279ead39cb3b812 (diff) |
i915: Fix offsets not being used for surface targets
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_state_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state_emit.c b/src/gallium/drivers/i915simple/i915_state_emit.c index de0c1a787ab..480b0b54c4d 100644 --- a/src/gallium/drivers/i915simple/i915_state_emit.c +++ b/src/gallium/drivers/i915simple/i915_state_emit.c @@ -222,7 +222,7 @@ i915_emit_hardware_state(struct i915_context *i915 ) OUT_RELOC(cbuf_surface->buffer, I915_BUFFER_ACCESS_WRITE, - 0); + cbuf_surface->offset); } /* What happens if no zbuf?? @@ -238,7 +238,7 @@ i915_emit_hardware_state(struct i915_context *i915 ) OUT_RELOC(depth_surface->buffer, I915_BUFFER_ACCESS_WRITE, - 0); + depth_surface->offset); } { |