From 66188e86931ac1a2ecb14595b5157e6fe54ebdcd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 3 Feb 2022 14:54:31 +1000 Subject: [PATCH] llvmpipe: inline retry_triangle_ccw This reduces some of the overheads in the callstack here. Reviewed-by: Jose Fonseca Part-of: --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 3ef36702758..088ddf39def 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -1010,7 +1010,7 @@ fail: /** * Try to draw the triangle, restart the scene on failure. */ -static void retry_triangle_ccw( struct lp_setup_context *setup, +static inline void retry_triangle_ccw( struct lp_setup_context *setup, struct fixed_position* position, const float (*v0)[4], const float (*v1)[4],