{
const struct lp_type type = bld->type;
const char *intrinsic = NULL;
- unsigned intr_size;
+ unsigned intr_size = 0;
LLVMValueRef cond;
assert(lp_check_value(type, a));
{
const struct lp_type type = bld->type;
const char *intrinsic = NULL;
- unsigned intr_size;
+ unsigned intr_size = 0;
LLVMValueRef cond;
assert(lp_check_value(type, a));
if (dims > 2) {
abs_ddx_ddy[1] = lp_build_abs(coord_bld, ddx_ddy[1]);
}
+ else {
+ abs_ddx_ddy[1] = NULL;
+ }
if (dims == 1) {
static const unsigned char swizzle1[] = {
LLVMValueRef width_vec, height_vec, depth_vec;
LLVMValueRef offset;
LLVMValueRef x_subcoord, y_subcoord;
- LLVMValueRef x_icoord, y_icoord, z_icoord;
+ LLVMValueRef x_icoord = NULL, y_icoord = NULL, z_icoord = NULL;
LLVMValueRef flt_size;
flt_size = lp_build_int_to_float(&bld->float_size_bld, int_size);