summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-14 11:37:17 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 15:30:39 +0200
commit5f8b654b47af12f8e583df7911581379eba549e2 (patch)
tree63ebf20e9d2c08ecb95ebf3e5a795a963347b50c /src/gallium/auxiliary
parentad69b037b1ca38390fad440189541e49b3f48f14 (diff)
tgsi/scan: add missing 'static' to tgsi_is_bindless_image_file()
This should fix compilation errors in some situations. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101418 Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index cfec9daede5..857434f62a6 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -198,7 +198,7 @@ tgsi_scan_arrays(const struct tgsi_token *tokens,
unsigned max_array_id,
struct tgsi_array_info *arrays);
-inline bool
+static inline bool
tgsi_is_bindless_image_file(unsigned file)
{
return file != TGSI_FILE_IMAGE &&