projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0ddbc
)
radeonsi: fix int->bool conversion in fence_signalled
author
Marek Olšák
<maraeo@gmail.com>
Fri, 4 Jan 2013 11:40:33 +0000
(12:40 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 4 Jan 2013 11:42:03 +0000
(12:42 +0100)
src/gallium/drivers/radeonsi/radeonsi_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 4bab97a7473789115b50e1df1deb93c9a62fca05..6eee8825161e0d9cfac8b3976728ce576ff16a5d 100644
(file)
--- a/
src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/
src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@
-545,7
+545,7
@@
static boolean r600_fence_signalled(struct pipe_screen *pscreen,
struct r600_screen *rscreen = (struct r600_screen *)pscreen;
struct r600_fence *rfence = (struct r600_fence*)fence;
- return rscreen->fences.data[rfence->index];
+ return rscreen->fences.data[rfence->index]
!= 0
;
}
static boolean r600_fence_finish(struct pipe_screen *pscreen,