glsl: tidy up struct with a single member
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 29 Dec 2015 10:02:56 +0000 (21:02 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 30 Dec 2015 00:52:05 +0000 (11:52 +1100)
commit0d4cd045c8a74efd7d43ceb841bde43cc6eee65d
tree2f6ce86c230a934484b49b744d56aed59ac9bec8
parent2c1a215409e6d5b3bc95854e17da2412a978e0c9
glsl: tidy up struct with a single member

There used to be more members but they now share other fields
in order to keep memory use low.

Also making the naming more generic will allow us to reuse the
field for explicit byte offsets within blocks for
ARB_enhanced_layouts.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/ast_to_hir.cpp
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/link_atomics.cpp
src/glsl/linker.cpp
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_atomics.c