llvmpipe: Ensure z_shift and z_width is initialized.

This commit is contained in:
José Fonseca
2010-10-17 07:45:08 -07:00
parent 914b0d34e8
commit 709699d2e2
+1 -1
View File
@@ -469,7 +469,7 @@ lp_build_depth_stencil_test(LLVMBuilderRef builder,
struct lp_build_context z_bld;
struct lp_build_context s_bld;
struct lp_type s_type;
unsigned z_shift, z_width, z_mask;
unsigned z_shift = 0, z_width = 0, z_mask = 0;
LLVMValueRef zs_dst, z_dst = NULL;
LLVMValueRef stencil_vals = NULL;
LLVMValueRef z_bitmask = NULL, stencil_shift = NULL;