projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25189c7
)
i965: Correctly use ABO count to trigger flagging of new surfaces.
author
Chris Forbes
<chrisf@ijw.co.nz>
Tue, 23 Sep 2014 10:16:21 +0000
(22:16 +1200)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 16 Oct 2014 09:31:43 +0000
(22:31 +1300)
This would have *almost never* actually been an issue, since other state
tends to get flagged at the same time as new ABOs -- but still bogus.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
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 d35dee0e470879271d711810e24704c13713a00a..ef46dd78b9e3387affd3d543c371eaa8ccd1050e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-919,7
+919,7
@@
brw_upload_abo_surfaces(struct brw_context *brw,
&surf_offsets[i], true);
}
- if (prog->Num
UniformBlock
s)
+ if (prog->Num
AtomicBuffer
s)
brw->state.dirty.brw |= BRW_NEW_SURFACES;
}