summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_deref.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-29 14:14:52 -0700
committerJason Ekstrand <[email protected]>2018-07-02 12:09:39 -0700
commit2bf8be99b0f3dedd8fb23eeba998f6e1c540edf7 (patch)
tree7f5cad6f18d88b73d2d7ebd2b7b745859799dba4 /src/compiler/nir/nir_deref.h
parent893fc2d07d382c0b9563c0b48215a0e260f17d4b (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