Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a684e71

Browse files
committed
Always pass the depth test by default. We're not using it yet
1 parent 4d02b67 commit a684e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/renderer/pipeline_builder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct PipelineBuilder {
110110
// Setup default depth buffer descriptions.
111111
{
112112
DepthAttachmentDescriptor depth0;
113-
depth0.depth_compare = CompareFunction::kGreater;
113+
depth0.depth_compare = CompareFunction::kAlways;
114114
desc.SetDepthStencilAttachmentDescriptor(depth0);
115115
desc.SetDepthPixelFormat(
116116
context.GetCapabilities()->GetDefaultDepthStencilFormat());

0 commit comments

Comments
 (0)