X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_bld_depth.h;h=d169c896711475abac98e7b1767720f3057525f6;hb=01ab218bbc5c8058a99077a6bc3dc9884e9d218a;hp=33cb0dd4a9e3e20cd55213ae01c34ebe4aa182b0;hpb=0ca384fb39f6d98af2de5654c46394743147d228;p=mesa.git diff --git a/src/gallium/drivers/llvmpipe/lp_bld_depth.h b/src/gallium/drivers/llvmpipe/lp_bld_depth.h index 33cb0dd4a9e..d169c896711 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_depth.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_depth.h @@ -58,30 +58,43 @@ void lp_build_depth_stencil_test(struct gallivm_state *gallivm, const struct pipe_depth_state *depth, const struct pipe_stencil_state stencil[2], - struct lp_type type, + struct lp_type z_src_type, const struct util_format_description *format_desc, struct lp_build_mask_context *mask, LLVMValueRef stencil_refs[2], - LLVMValueRef zs_src, - LLVMValueRef zs_dst_ptr, - LLVMValueRef facing, - LLVMValueRef *zs_value, + LLVMValueRef z_src, + LLVMValueRef z_fb, + LLVMValueRef s_fb, + LLVMValueRef face, + LLVMValueRef *z_value, + LLVMValueRef *s_value, boolean do_branch); void -lp_build_depth_write(struct gallivm_state *gallivm, - struct lp_type z_src_type, - const struct util_format_description *format_desc, - LLVMValueRef zs_dst_ptr, - LLVMValueRef zs_value); +lp_build_depth_stencil_load_swizzled(struct gallivm_state *gallivm, + struct lp_type z_src_type, + const struct util_format_description *format_desc, + boolean is_1d, + LLVMValueRef depth_ptr, + LLVMValueRef depth_stride, + LLVMValueRef *z_fb, + LLVMValueRef *s_fb, + LLVMValueRef loop_counter); void -lp_build_deferred_depth_write(struct gallivm_state *gallivm, - struct lp_type z_src_type, - const struct util_format_description *format_desc, - struct lp_build_mask_context *mask, - LLVMValueRef zs_dst_ptr, - LLVMValueRef zs_value); +lp_build_depth_stencil_write_swizzled(struct gallivm_state *gallivm, + struct lp_type z_src_type, + const struct util_format_description *format_desc, + boolean is_1d, + struct lp_build_mask_context *mask, + LLVMValueRef z_fb, + LLVMValueRef s_fb, + LLVMValueRef loop_counter, + LLVMValueRef depth_ptr, + LLVMValueRef depth_stride, + LLVMValueRef z_value, + LLVMValueRef s_value); + void lp_build_occlusion_count(struct gallivm_state *gallivm,