summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h b/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h
index aa4606d0b..deb1ecc66 100644
--- a/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h
+++ b/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_util.h
@@ -28,8 +28,6 @@
#ifndef TGSI_UTIL_H
#define TGSI_UTIL_H
-#include "pipe/p_shader_tokens.h"
-
#if defined __cplusplus
extern "C" {
#endif
@@ -82,21 +80,7 @@ struct tgsi_src_register
tgsi_util_get_src_from_ind(const struct tgsi_ind_register *reg);
int
-tgsi_util_get_texture_coord_dim(unsigned tgsi_tex);
-
-int
-tgsi_util_get_shadow_ref_src_index(unsigned tgsi_tex);
-
-boolean
-tgsi_is_shadow_target(unsigned target);
-
-
-static inline boolean
-tgsi_is_msaa_target(unsigned target)
-{
- return (target == TGSI_TEXTURE_2D_MSAA ||
- target == TGSI_TEXTURE_2D_ARRAY_MSAA);
-}
+tgsi_util_get_texture_coord_dim(int tgsi_tex, int *shadow_or_sample);
#if defined __cplusplus
}