summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_strings.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-01-16 23:08:55 +0100
committerSamuel Pitoiset <[email protected]>2016-02-13 15:51:17 +0100
commita8328e3a50169c3c74656df7f63f56f061d9e751 (patch)
treea03a8e4e909d5a601992dd162dc34bb794326b96 /src/gallium/auxiliary/tgsi/tgsi_strings.c
parent5e09ac78e5c25972fecf02e10363052a7b90f79f (diff)
tgsi/ureg: add shared variables support for compute shaders
This introduces TGSI_FILE_MEMORY for shared, global and local memory. Only shared memory is currently supported. Changes from v2: - introduce TGSI_FILE_MEMORY Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_strings.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c
index f2d70d49839..b15ae69cf7a 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c
@@ -57,6 +57,7 @@ static const char *tgsi_file_names[] =
"IMAGE",
"SVIEW",
"BUFFER",
+ "MEMORY",
};
const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =