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

Commit

Permalink
Always pass the depth test by default. We're not using it yet
Browse files Browse the repository at this point in the history
  • Loading branch information
bdero committed Jan 22, 2024
1 parent 9a2f762 commit edad180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impeller/renderer/pipeline_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct PipelineBuilder {
// Setup default depth buffer descriptions.
{
DepthAttachmentDescriptor depth0;
depth0.depth_compare = CompareFunction::kGreater;
depth0.depth_compare = CompareFunction::kAlways;
desc.SetDepthStencilAttachmentDescriptor(depth0);
desc.SetDepthPixelFormat(
context.GetCapabilities()->GetDefaultDepthStencilFormat());
Expand Down

0 comments on commit edad180

Please sign in to comment.