projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74a8da
)
r600g: Silence unused variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:27:39 +0000
(14:27 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:27:39 +0000
(14:27 -0700)
The variables are used in code that is currently ifdef'ed out.
src/gallium/drivers/r600/r600_state2.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state2.c
b/src/gallium/drivers/r600/r600_state2.c
index 1fa58d9a5a4321380779fbb8ad609d6fdd3e1400..86c10a877dded64576d393db04fa2d8b981a8d92 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state2.c
+++ b/
src/gallium/drivers/r600/r600_state2.c
@@
-684,8
+684,10
@@
static void r600_flush2(struct pipe_context *ctx, unsigned flags,
struct pipe_fence_handle **fence)
{
struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
+#if 0
static int dc = 0;
char dname[256];
+#endif
if (!rctx->ctx.pm4_cdwords)
return;