diff options
author | Brian Paul <[email protected]> | 2017-12-15 14:23:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-12-20 11:23:16 -0700 |
commit | a0430bb62c9eed196aead655165145e0a1a1ff32 (patch) | |
tree | 74960fb901fbdf2142784f9bd1a6be0eec059a51 /src/compiler/glsl/link_varyings.cpp | |
parent | d86c9836d5b55ce8efedeb5da0802def1a705957 (diff) |
glsl: make varying_matches::is_varying_packing_safe() const
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
-rw-r--r-- | src/compiler/glsl/link_varyings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index cadffeb2466..9039c3b8b83 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 || |