summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);