From 0fdcb208034ba88ec38460519f5b13d58fbfd57f Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 6 Oct 2018 22:54:38 -0700 Subject: [PATCH] iris: inline stage_from_pipe to avoid unused warnings --- src/gallium/drivers/iris/iris_pipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_pipe.h b/src/gallium/drivers/iris/iris_pipe.h index 1cb0a76af9a..dac81009168 100644 --- a/src/gallium/drivers/iris/iris_pipe.h +++ b/src/gallium/drivers/iris/iris_pipe.h @@ -26,7 +26,7 @@ #include "pipe/p_defines.h" #include "compiler/shader_enums.h" -static gl_shader_stage +static inline gl_shader_stage stage_from_pipe(enum pipe_shader_type pstage) { static const gl_shader_stage stages[PIPE_SHADER_TYPES] = { -- 2.30.2