projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d050229
)
r600g: oops got the use_mem_constant the wrong way around.
author
Dave Airlie
<airlied@redhat.com>
Fri, 17 Sep 2010 14:28:06 +0000
(
00:28
+1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 17 Sep 2010 14:28:06 +0000
(
00:28
+1000)
this fixes evergreen gears again.
src/gallium/winsys/r600/drm/radeon_ws_bo.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/radeon_ws_bo.c
b/src/gallium/winsys/r600/drm/radeon_ws_bo.c
index ccaedb4777dae96985c155096e74ab0083736b52..8114526a14aa1db732ade15f039560b306675002 100644
(file)
--- a/
src/gallium/winsys/r600/drm/radeon_ws_bo.c
+++ b/
src/gallium/winsys/r600/drm/radeon_ws_bo.c
@@
-13,7
+13,7
@@
struct radeon_ws_bo *radeon_ws_bo(struct radeon *radeon,
desc.alignment = alignment;
desc.usage = usage;
- if (radeon->use_mem_constant && (usage & PIPE_BIND_CONSTANT_BUFFER)) {
+ if (
!
radeon->use_mem_constant && (usage & PIPE_BIND_CONSTANT_BUFFER)) {
man = radeon->mman;
} else if (usage & (PIPE_BIND_CONSTANT_BUFFER | PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER))
man = radeon->cman;