projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa90f17
)
r600g: remove a no-op while loop
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 21 Jan 2014 22:46:44 +0000
(23:46 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 28 Jan 2014 00:39:08 +0000
(
01:39
+0100)
for (;;) {
} while ();
I was surprised to see such a statement.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/radeon/r600_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_query.c
b/src/gallium/drivers/radeon/r600_query.c
index bf73a1464b06bc7163e2c84f89125c15f817d2fe..915d37ade9ef44fd90b0c6e5b9b15a55862f5f7c 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_query.c
+++ b/
src/gallium/drivers/radeon/r600_query.c
@@
-326,7
+326,7
@@
static void r600_emit_query_predication(struct r600_common_context *ctx, struct
/* set CONTINUE bit for all packets except the first */
op |= PREDICATION_CONTINUE;
}
- }
while (qbuf);
+ }
}
}