summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c3
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 6053e825e17..8101e2d843d 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,