summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-04-16 14:48:34 +0200
committerMarek Olšák <[email protected]>2016-04-22 01:30:39 +0200
commitc9e5a7df61d92aa5525dcc825bc3c6cb3a60f96b (patch)
treea33131633a962069528e19885232f0ae57cee07a /src/gallium/auxiliary/util
parentaf249a7da9bf2621ab836d5074ef692677b11bbf (diff)
gallium: remove helpers converting to/from TGSI_PROCESSOR_*
Acked-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_inlines.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h
index eedd32e9e47..07c058abfba 100644
--- a/src/gallium/auxiliary/util/u_inlines.h
+++ b/src/gallium/auxiliary/util/u_inlines.h
@@ -650,28 +650,6 @@ util_max_layer(const struct pipe_resource *r, unsigned level)
}
}
-static inline unsigned
-util_pipe_shader_from_tgsi_processor(unsigned processor)
-{
- switch (processor) {
- case PIPE_SHADER_VERTEX:
- return PIPE_SHADER_VERTEX;
- case PIPE_SHADER_TESS_CTRL:
- return PIPE_SHADER_TESS_CTRL;
- case PIPE_SHADER_TESS_EVAL:
- return PIPE_SHADER_TESS_EVAL;
- case PIPE_SHADER_GEOMETRY:
- return PIPE_SHADER_GEOMETRY;
- case PIPE_SHADER_FRAGMENT:
- return PIPE_SHADER_FRAGMENT;
- case PIPE_SHADER_COMPUTE:
- return PIPE_SHADER_COMPUTE;
- default:
- assert(0);
- return PIPE_SHADER_VERTEX;
- }
-}
-
#ifdef __cplusplus
}
#endif