summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-25 00:41:48 -0400
committerMarek Olšák <[email protected]>2018-08-29 15:31:41 -0400
commit8f6e06d1608bff31165511787a06da8c635e6da0 (patch)
treec4f492d663755c46fa10f9d70d9e53a0c746264d /src/gallium/auxiliary/tgsi
parentd8033d4083d341f3351c8ca929935617b9b16f3a (diff)
gallium: add TGSI_MEMORY_STREAM_CACHE_POLICY
For internal radeonsi shaders.
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.c3
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c
index 434871273f2..03261ed2d99 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c
@@ -228,11 +228,12 @@ const char *tgsi_immediate_type_names[6] =
"INT64",
};
-const char *tgsi_memory_names[3] =
+const char *tgsi_memory_names[4] =
{
"COHERENT",
"RESTRICT",
"VOLATILE",
+ "STREAM_CACHE_POLICY",
};
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.h b/src/gallium/auxiliary/tgsi/tgsi_strings.h
index 20e3f7127f6..61068d562d8 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.h
@@ -62,7 +62,7 @@ extern const char *tgsi_fs_coord_pixel_center_names[2];
extern const char *tgsi_immediate_type_names[6];
-extern const char *tgsi_memory_names[3];
+extern const char *tgsi_memory_names[4];
const char *