summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-17 15:09:35 -0600
committerBrian Paul <[email protected]>2010-03-17 16:29:34 -0600
commit227824ac6999a8925b90f093b08a6284d33a7dad (patch)
tree35f56c745da717f0d94941e9704d54f36847830e /src
parent2b8db4ce156fbd4d094f46fad0b8b3291b057fff (diff)
llvmpipe: remove incorrect depth test check
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c5
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 a4030269704..b38e0f393dc 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);