projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ee846
)
llvmpipe: Initialize variable for potentially unhandled switch case.
author
Vinson Lee
<vlee@vmware.com>
Tue, 14 Sep 2010 07:17:13 +0000
(
00:17
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 14 Sep 2010 07:17:13 +0000
(
00:17
-0700)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 6053e825e17f39cee5cdb0f756c1c547b287ed27..8101e2d843dff7233fb491991801855a00f3e776 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_fs.c
@@
-212,6
+212,9
@@
generate_quad_mask(LLVMBuilderRef builder,
case 3:
shift = 10;
break;
+ default:
+ assert(0);
+ shift = 0;
}
mask_input = LLVMBuildLShr(builder,