projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8db4c
)
llvmpipe: remove incorrect depth test check
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Mar 2010 21:09:35 +0000
(15:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 17 Mar 2010 22:29:34 +0000
(16:29 -0600)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index a40302697046456602244866b6c0bae4e5e34cc6..b38e0f393dc89a4080cc1f146e2ec5c7e66191e5 100644
(file)
--- 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);