OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df8a75
)
llvmpipe: Fix negated logic in lp_scene_add_resource_reference().
author
José Fonseca
<jfonseca@vmware.com>
Thu, 26 Aug 2010 11:08:56 +0000
(12:08 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 7 Sep 2010 13:02:29 +0000
(14:02 +0100)
Fixes performance regression.
src/gallium/drivers/llvmpipe/lp_scene.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_scene.c
b/src/gallium/drivers/llvmpipe/lp_scene.c
index
54880f2
..
c7e3c59
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/
src/gallium/drivers/llvmpipe/lp_scene.c
@@
-381,7
+381,7
@@
add_new_ref:
* data.
*/
if (!initializing_scene &&
- scene->resource_reference_size
<
LP_SCENE_MAX_RESOURCE_SIZE)
+ scene->resource_reference_size
>=
LP_SCENE_MAX_RESOURCE_SIZE)
return FALSE;
return TRUE;