Skip to content

Fix textureGatherOffsets parameter type and MathML typo#170

Open
Determinated738 wants to merge 1 commit into
KhronosGroup:mainfrom
Determinated738:main
Open

Fix textureGatherOffsets parameter type and MathML typo#170
Determinated738 wants to merge 1 commit into
KhronosGroup:mainfrom
Determinated738:main

Conversation

@Determinated738
Copy link
Copy Markdown

Fix errors in the textureGatherOffsets documentation to bring it into alignment with the official GLSL Specification.

  1. gsampler2DRect coordinate parameter should be vec2 instead of vec3. 2D Rectangle samplers use 2D coordinates.
  2. In the description, the MathML section should be i0j0 instead of i0i0.

With these changes, it is now consistent with the GLSL Specification https://registry.khronos.org/OpenGL/specs/gl/GLSLangSpec.4.40.pdf#page=178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant