Skip to content

GLSL_EXT_fragment_shading_rate: wrong axis in "no flag set" sentence of gl_ShadingRateEXT description #349

Open

Description

@kmij261

In #extensions/ext/GLSL_EXT_fragment_shading_rate.txt, in the added description of the fragment shader input gl_ShadingRateEXT:

If gl_ShadingRateEXT contains gl_ShadingRateFlag2VerticalPixelsEXT, the current fragment shader invocation covers 2 pixels vertically.
If gl_ShadingRateEXT contains gl_ShadingRateFlag4VerticalPixelsEXT, the current fragment shader invocation covers 4 pixels vertically.
If no horizontal flag is set, the current fragment shader invocation covers a single pixel horizontally.

The last sentence of the vertical paragraph incorrectly says "horizontal". It should read:
If no vertical flag is set, the current fragment shader invocation covers a single pixel vertically.

This matches the parallel wording used for gl_PrimitiveShadingRateEXT earlier in the same extension ("If no vertical flag is set, the current fragment shader invocation covers a single pixel vertically."). As currently written, the "no horizontal flag" sentence appears twice and the "no vertical flag" case is never stated.

Activity

  1. gnl21 commented on Nov 23, 2026

    @gnl21
    Contributor

    Thanks for reporting this. I've pushed a fix in #350.

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