diff options
-rw-r--r-- | src/compiler/glsl/lower_const_arrays_to_uniforms.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/glsl/lower_const_arrays_to_uniforms.cpp b/src/compiler/glsl/lower_const_arrays_to_uniforms.cpp index 99481505e0e..665a9ad1d48 100644 --- a/src/compiler/glsl/lower_const_arrays_to_uniforms.cpp +++ b/src/compiler/glsl/lower_const_arrays_to_uniforms.cpp @@ -57,6 +57,7 @@ public: return progress; } + ir_visitor_status visit_enter(ir_texture *); void handle_rvalue(ir_rvalue **rvalue); private: @@ -64,6 +65,12 @@ private: bool progress; }; +ir_visitor_status +lower_const_array_visitor::visit_enter(ir_texture *) +{ + return visit_continue_with_parent; +} + void lower_const_array_visitor::handle_rvalue(ir_rvalue **rvalue) { |