diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-17 15:09:35 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-17 16:29:34 -0600 |
commit | 227824ac6999a8925b90f093b08a6284d33a7dad (patch) | |
tree | 35f56c745da717f0d94941e9704d54f36847830e | |
parent | 2b8db4ce156fbd4d094f46fad0b8b3291b057fff (diff) |
llvmpipe: remove incorrect depth test check
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index a403026970..b38e0f393d 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -138,7 +138,7 @@ generate_pos0(LLVMBuilderRef builder, /** - * Generate the depth test. + * Generate the depth /stencil test code. */ static void generate_depth_stencil(LLVMBuilderRef builder, @@ -152,9 +152,6 @@ generate_depth_stencil(LLVMBuilderRef builder, const struct util_format_description *format_desc; struct lp_type dst_type; - if(!key->depth.enabled) - return; - format_desc = util_format_description(key->zsbuf_format); assert(format_desc); |