From 9e9d28007a44c664c79cd89549988194e156a39f Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Mon, 17 Aug 2020 10:32:21 -0700 Subject: [PATCH] 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: --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *); -- 2.30.2