diff options
author | Jason Ekstrand <[email protected]> | 2015-09-21 08:22:12 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-21 10:41:43 -0700 |
commit | 46362db4a6bb6db64727d3adcb16ca8f32aa70fb (patch) | |
tree | ac53e56039728af880e0e71d8808d5890669a86f /src/glsl/link_uniform_blocks.cpp | |
parent | d513388c8aa1ef4edb937e97a75b953f1abe16f3 (diff) |
nir/builder: Don't use designated initializers
Designated initializers are not allowed in C++ (not even C++11). Since
nir_lower_samplers is now using nir_builder, and nir_lower_samplers is in
C++, this breaks the build on some compilers. Aparently, GCC 5 allows it
in some limited extent because mesa still builds on my system without this
patch.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92052
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/link_uniform_blocks.cpp')
0 files changed, 0 insertions, 0 deletions