From: Jesse Natalie Date: Mon, 17 Aug 2020 17:32:21 +0000 (-0700) Subject: mesa: Move ATTRIBUTE_NOINLINE for glsl_to_tgsi_visitor::visit_expression for MSVC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e9d28007a44c664c79cd89549988194e156a39f;p=mesa.git mesa: Move ATTRIBUTE_NOINLINE for glsl_to_tgsi_visitor::visit_expression for MSVC Fixes 65d7172d ("util/macros: Add ATTRIBUTE_NOINLINE definition for MSVC") Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index bc032f4c751..1c644163716 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -292,7 +292,7 @@ public: virtual void visit(ir_barrier *); /*@}*/ - void visit_expression(ir_expression *, st_src_reg *) ATTRIBUTE_NOINLINE; + void ATTRIBUTE_NOINLINE visit_expression(ir_expression *, st_src_reg *); void visit_atomic_counter_intrinsic(ir_call *); void visit_ssbo_intrinsic(ir_call *);