projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d85a6b
)
i965: Fix relocation delta for WM surfaces.
author
Eric Anholt
<eric@anholt.net>
Wed, 9 Sep 2009 19:35:30 +0000
(12:35 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 9 Sep 2009 19:52:52 +0000
(12:52 -0700)
This was a regression in
0f328c90dbc893e15005f2ab441d309c1c176245
.
Bug #23688
Bug #23254
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index bff2ab97217c977d7b8e10edfc684d4775136b30..51539ac1e7354eabb79a6148077cdc27cafe9005 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-634,7
+634,7
@@
brw_update_renderbuffer_surface(struct brw_context *brw,
drm_intel_bo_emit_reloc(brw->wm.surf_bo[unit],
offsetof(struct brw_surface_state, ss1),
region_bo,
- surf.ss1.base_addr,
+ surf.ss1.base_addr
- region_bo->offset
,
I915_GEM_DOMAIN_RENDER,
I915_GEM_DOMAIN_RENDER);
}