diff options
author | Brian Paul <[email protected]> | 2017-05-22 06:52:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-05-25 10:35:11 -0600 |
commit | 12dc84336723d3f156195a6a0473ed151cfb8395 (patch) | |
tree | 19ad2271db78b41ca135c7690e0b7cfa5e383656 /src/util/u_atomic.h | |
parent | f94cfdc5f2724d7fc92ad1c5d2127b884e7892ff (diff) |
glsl: Fix g++ initializer order warning
Fixes this warning:
In file included from ../../../src/compiler/glsl/ir.cpp:25:0:
../../../src/compiler/glsl/ir.h: In constructor 'ir_swizzle::ir_swizzle(ir_rvalue*, ir_swizzle_mask)':
../../../src/compiler/glsl/ir.h:1955:20: warning: 'ir_swizzle::mask' will be initialized after [-Wreorder]
ir_swizzle_mask mask;
^
../../../src/compiler/glsl/ir.h:1954:15: warning: 'ir_rvalue* ir_swizzle::val' [-Wreorder]
ir_rvalue *val;
^
../../../src/compiler/glsl/ir.cpp:1592:1: warning: when initialized here [-Wreorder]
ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask)
^
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util/u_atomic.h')
0 files changed, 0 insertions, 0 deletions