projects
/
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 54880f2f104dc63747612d5f6c1b297cce2f3a4e..c7e3c59786482fe0dfbb5d8a48cd8756542604a0 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;