i915: Fix offsets not being used for surface targets
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user