projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be59d52
)
GEM: Set validate index to keep the same buffer from being duped on the list.
author
Eric Anholt
<eric@anholt.net>
Mon, 5 May 2008 21:20:18 +0000
(14:20 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 5 May 2008 21:20:18 +0000
(14:20 -0700)
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
b/src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
index fd161cbeb8ee3726d43bb829d7649c5773f5f306..ca0a92cfe844f189a1b3985832b3e402a292b8d1 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
+++ b/
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
@@
-223,6
+223,7
@@
intel_add_validate_buffer(dri_bo *bo)
}
index = bufmgr_gem->validate_count;
+ bo_gem->validate_index = index;
/* Fill in array entry */
bufmgr_gem->validate_array[index].buffer_handle = bo_gem->gem_handle;
bufmgr_gem->validate_array[index].relocation_count = bo_gem->reloc_count;