projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd45a7
)
i965: Fix undefined value usage in ABO setup.
author
Eric Anholt
<eric@anholt.net>
Wed, 6 Nov 2013 00:24:58 +0000
(16:24 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 12 Nov 2013 23:04:28 +0000
(15:04 -0800)
Fixes a compiler warning.
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
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
2088688
..
662c975
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-890,7
+890,7
@@
brw_upload_abo_surfaces(struct brw_context *brw,
struct intel_buffer_object *intel_bo =
intel_buffer_object(binding->BufferObject);
drm_intel_bo *bo = intel_bufferobj_buffer(
- brw, intel_bo, binding->Offset,
bo->s
ize - binding->Offset);
+ brw, intel_bo, binding->Offset,
intel_bo->Base.S
ize - binding->Offset);
brw->vtbl.create_raw_surface(brw, bo, binding->Offset,
bo->size - binding->Offset,