diff options
author | Jason Ekstrand <[email protected]> | 2018-06-29 14:14:52 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-07-02 12:09:39 -0700 |
commit | 2bf8be99b0f3dedd8fb23eeba998f6e1c540edf7 (patch) | |
tree | 7f5cad6f18d88b73d2d7ebd2b7b745859799dba4 /src/compiler/nir/nir_deref.h | |
parent | 893fc2d07d382c0b9563c0b48215a0e260f17d4b (diff) |
nir/types: Add a natural size and alignment helper
The size and alignment are "natural" in the sense that everything is
aligned to a scalar. This is a bit tighter than std430 where vec3s are
required to be aligned to a vec4.
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_deref.h')
0 files changed, 0 insertions, 0 deletions