You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GLSL_EXT_fragment_shading_rate: wrong axis in "no flag set" sentence of gl_ShadingRateEXT description #349
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
gnl21 commentedon Nov 23, 2026
Thanks for reporting this. I've pushed a fix in #350.