projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c0576
)
r600g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Wed, 15 Sep 2010 12:52:16 +0000
(
05:52
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 15 Sep 2010 12:52:16 +0000
(
05:52
-0700)
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 2aeaf9a6a654bdacd4c56eadaab8a22124d433c0..f12dbd37d386d10fed311ea0194e49bf61d80f8d 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-2414,6
+2414,9
@@
static inline void callstack_check_depth(struct r600_shader_ctx *ctx, unsigned r
case FC_PUSH_WQM:
diff = 4;
break;
+ default:
+ assert(0);
+ diff = 0;
}
if ((ctx->bc->callstack[ctx->bc->call_sp].current + diff) >
ctx->bc->callstack[ctx->bc->call_sp].max) {