summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_util.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-09-01 16:29:17 -0600
committerBrian Paul <[email protected]>2015-09-01 16:29:17 -0600
commitf8da1e14599d96ced92a548d56e9110a8a54e772 (patch)
treec5954e7c47936254caf3361a3c2076f078e2a1ff /src/gallium/auxiliary/tgsi/tgsi_util.h
parentbd883c90708207c6848b7f7b263ce1ef4e6a475b (diff)
tgsi: added tgsi_is_shadow_target() helper
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_util.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.h b/src/gallium/auxiliary/tgsi/tgsi_util.h
index deb1ecc66f9..6175d95fcd6 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_util.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_util.h
@@ -82,6 +82,9 @@ tgsi_util_get_src_from_ind(const struct tgsi_ind_register *reg);
int
tgsi_util_get_texture_coord_dim(int tgsi_tex, int *shadow_or_sample);
+boolean
+tgsi_is_shadow_target(unsigned target);
+
#if defined __cplusplus
}
#endif