diff options
author | Timothy Arceri <[email protected]> | 2015-12-29 21:02:56 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-12-30 11:52:05 +1100 |
commit | 0d4cd045c8a74efd7d43ceb841bde43cc6eee65d (patch) | |
tree | 2f6ce86c230a934484b49b744d56aed59ac9bec8 /src/glsl/ir.h | |
parent | 2c1a215409e6d5b3bc95854e17da2412a978e0c9 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 159f94d9edd..c56c95994b8 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -871,9 +871,7 @@ public: /** * Location an atomic counter is stored at. */ - struct { - unsigned offset; - } atomic; + unsigned offset; /** * Highest element accessed with a constant expression array index |