summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_depth.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-10-13 14:28:51 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-10-13 15:25:15 +0100
commit95c18abb03b035c6fa029cd0852f07fb39951279 (patch)
tree04f0217e693b6ce202cc10e6bdeff78bace20f36 /src/gallium/drivers/llvmpipe/lp_bld_depth.h
parentf9995b30756140724f41daf963fa06167912be7f (diff)
llvmpipe: Unbreak Z32_FLOAT.
Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support).
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_depth.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_depth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_depth.h b/src/gallium/drivers/llvmpipe/lp_bld_depth.h
index 0f89668123..a54ef3a711 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_depth.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_depth.h
@@ -65,6 +65,12 @@ lp_build_depth_stencil_test(LLVMBuilderRef builder,
boolean do_branch);
void
+lp_build_depth_write(LLVMBuilderRef builder,
+ const struct util_format_description *format_desc,
+ LLVMValueRef zs_dst_ptr,
+ LLVMValueRef zs_value);
+
+void
lp_build_deferred_depth_write(LLVMBuilderRef builder,
struct lp_type z_src_type,
const struct util_format_description *format_desc,