llvmpipe: inline retry_triangle_ccw

This reduces some of the overheads in the callstack here.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14846>
This commit is contained in:
Dave Airlie 2022-02-03 14:54:31 +10:00 committed by Marge Bot
parent 086a9b7869
commit 66188e8693
1 changed files with 1 additions and 1 deletions

View File

@ -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],