diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-14 00:17:13 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-14 00:17:13 -0700 |
commit | aeb83928fdc09d9310df0f94aaddf87d9635dc7e (patch) | |
tree | 4f2eed91f2bcb43275586ab09e88aeb04be05c9e | |
parent | 45ee8463a2a771c68b8146c87fa582a004dfde5e (diff) |
llvmpipe: Initialize variable for potentially unhandled switch case.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 6053e825e1..8101e2d843 100644 --- 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, |