diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-08-31 07:44:47 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-25 08:39:21 +0200 |
commit | 35476c2bae5d59adf5fcfce8c83958ed076264e5 (patch) | |
tree | bcf726ca424160207dfc7e027d6d10450c3f345d /src/glsl/link_uniform_blocks.cpp | |
parent | a40f917c4b0100a7ec9a97a12ce0959f83a3f61b (diff) |
glsl: Add std430 related member functions to glsl_type class
They are used to calculate size, base alignment and array stride values
for a glsl_type following std430 rules.
v2:
- Paste OpenGL 4.3 spec wording as it mentions stride of array. (Jordan)
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/link_uniform_blocks.cpp')
0 files changed, 0 insertions, 0 deletions