projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
914b0d3
)
llvmpipe: Ensure z_shift and z_width is initialized.
author
José Fonseca
<jfonseca@vmware.com>
Sun, 17 Oct 2010 14:45:08 +0000
(07:45 -0700)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 17 Oct 2010 14:45:08 +0000
(07:45 -0700)
src/gallium/drivers/llvmpipe/lp_bld_depth.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_depth.c
b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
index 167ac0ed2e22c6623b09188fd613e9d0323bf043..7eb76d4fb31d2e3c146b46bebadc1ff9eadefd2c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_depth.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_depth.c
@@
-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;