Module: Mesa Branch: master Commit: a0430bb62c9eed196aead655165145e0a1a1ff32 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0430bb62c9eed196aead655165145e0a1a1ff32
Author: Brian Paul <bri...@vmware.com> Date: Fri Dec 15 14:23:39 2017 -0700 glsl: make varying_matches::is_varying_packing_safe() const Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> --- src/compiler/glsl/link_varyings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index cadffeb246..9039c3b8b8 100644 --- a/src/compiler/glsl/link_varyings.cpp +++ b/src/compiler/glsl/link_varyings.cpp @@ -1475,7 +1475,7 @@ public: private: bool is_varying_packing_safe(const glsl_type *type, - const ir_variable *var); + const ir_variable *var) const; /** * If true, this driver disables varying packing, so all varyings need to @@ -1608,7 +1608,7 @@ varying_matches::~varying_matches() */ bool varying_matches::is_varying_packing_safe(const glsl_type *type, - const ir_variable *var) + const ir_variable *var) const { if (consumer_stage == MESA_SHADER_TESS_EVAL || consumer_stage == MESA_SHADER_TESS_CTRL || _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit