projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fbb6ba
)
iris: inline stage_from_pipe to avoid unused warnings
author
Kenneth Graunke
<kenneth@whitecape.org>
Sun, 7 Oct 2018 05:54:38 +0000
(22:54 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_pipe.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_pipe.h
b/src/gallium/drivers/iris/iris_pipe.h
index 1cb0a76af9ad782fce9a1195c978a8e533b57d16..dac81009168362486e274ecc6fcf87bc30e85979 100644
(file)
--- 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] = {