llvmpipe: silence uninitialized var warnings

This commit is contained in:
Brian Paul 2010-05-13 13:21:37 -06:00
parent 966d28cb2e
commit 77ee438e61
1 changed files with 2 additions and 1 deletions

View File

@ -918,7 +918,8 @@ lp_build_lod_selector(struct lp_build_sample_context *bld,
}
else {
const int dims = texture_dims(bld->static_state->target);
LLVMValueRef dsdx, dsdy, dtdx, dtdy, drdx, drdy;
LLVMValueRef dsdx, dsdy;
LLVMValueRef dtdx = NULL, dtdy = NULL, drdx = NULL, drdy = NULL;
LLVMValueRef rho;
/*