iris: inline stage_from_pipe to avoid unused warnings

This commit is contained in:
Kenneth Graunke 2018-10-06 22:54:38 -07:00
parent 6fbb6ba290
commit 0fdcb20803
1 changed files with 1 additions and 1 deletions

View File

@ -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] = {