glsl: pass UseSTD430AsDefaultPacking to where it will be used

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 21 August 2017 21:29 EDT

Here we also make use of the UseSTD430AsDefaultPacking constant and call the new get_internal_ifc_packing() helper.

4c24220 glsl: pass UseSTD430AsDefaultPacking to where it will be used
src/compiler/glsl/ir_optimization.h | 2 +-
src/compiler/glsl/link_uniform_blocks.cpp | 17 +++++++----
src/compiler/glsl/link_uniforms.cpp | 50 ++++++++++++++++++++-----------
src/compiler/glsl/link_varyings.cpp | 2 +-
src/compiler/glsl/linker.cpp | 20 ++++++++-----
src/compiler/glsl/linker.h | 5 ++--
src/compiler/glsl/lower_buffer_access.h | 3 ++
src/compiler/glsl/lower_ubo_reference.cpp | 33 +++++++++++++++-----
src/mesa/program/ir_to_mesa.cpp | 6 ++--
9 files changed, 94 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share