这是indexloc提供的服务,不要输入任何密码
Skip to content

Separate read-only state for stencil and depth aspects. #3036

@brendan-duncan

Description

@brendan-duncan

The issue was previously discussed in #514.

Unity shaders need to disable writing to the depth buffer in a render pipeline with depthWriteEnabled:false, for a depth texture currently used by the render pass, while still writing to the stencil. If necessary, I could end the current render pass and start a new one with readOnly depth and writable stencil. But it would be nice if the depthWriteEnabled pipeline state would control that. In all cases, we need separate stencil and depth read-only states.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA request for a new GPU feature exposed in the API

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions