Skip to content

Metal: Stencil buffer not working when depth buffer is disabled #106652

@stuartcarnie

Description

@stuartcarnie

Tested versions

System information

Godot v4.5.dev4 - macOS Sequoia (15.5.0) - Multi-window, 2 monitors - Metal (Forward+) - integrated Apple M4 Max (Apple9) - Apple M4 Max (16 threads)

Issue description

Using RenderingDevice to construct a pipeline that only enables stencil support does not generate the expected output.

Steps to reproduce

Run the attached MRP.

output expected output
Image Image

Minimal reproduction project (MRP)

mrp.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions