Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Support layer: Force NoContraction on position #109

Open

Description

@solidpixel

Variability in gl_Position calculations can break multi-pass rendering where the second pass needs DEPTH_EQUAL, as even minor changes due to floating point reassociation can change the value enough to fail the depth test.

For GLSL shaders can annotate variables with the precise or invariant qualifiers which turns into either NoContract or Invariant decorations in the SPIR-V. We should provide an option to force this for specific shader stages.

Activity

  1. changed the title [-]Support layer: Force NoContraction[/-] [+]Support layer: Force NoContraction on position[/+] on May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions