summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-05-19 23:54:40 -0400
committerIlia Mirkin <[email protected]>2014-05-21 09:31:16 -0400
commitcdeb7004e03afbd5305913b5ae35d72529623507 (patch)
treeb0a5f942e2edfb70d86f2168de8958e9f9c5baef /src/gallium
parent28360fcad75a6917db6af42fb17b81572850ec0d (diff)
tgsi: add GS_INVOCATIONS to property names array
In commit 4be146b1, I neglected to add the new property to the strings array. This leads to the string '(null)' to be printed instead when converting a GS shader to text. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.2" <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c
index 5b6e47fc87b..34dec4f8a3e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c
@@ -120,7 +120,8 @@ const char *tgsi_property_names[TGSI_PROPERTY_COUNT] =
"FS_COORD_PIXEL_CENTER",
"FS_COLOR0_WRITES_ALL_CBUFS",
"FS_DEPTH_LAYOUT",
- "VS_PROHIBIT_UCPS"
+ "VS_PROHIBIT_UCPS",
+ "GS_INVOCATIONS",
};
const char *tgsi_type_names[5] =