KhronosGroup / KhronosGroup/GLSL

Clarification for layout rules in section 7.6.2.2 of the OpenGL 4.5 spec.

Open
#92 6 comments 0 reactions 1 assignee Claimed by @oddhack View on GitHub
OpenGL OpenGL ES Specification
Dominant language
JavaScript
Stars
458
Forks
114
Avg merge
4m
Merged PRs (30d)
1

Description

Reading the layout rules, rule 6.

* If the member is an array of S column-major matrices with C columns and R rows, the matrix is stored identically to a row of S x C column vectors with R components each, according to rule (4).

What is the meaning of _row_ in this point (similar with point 8). Should it instead say array to signal the array rules should apply (so, effectively, a mat2x2[] becomes an array of arrays of vec2's?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.