summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-01-04 11:48:24 +0000
committerDave Airlie <[email protected]>2012-01-07 08:36:24 +0000
commit9cea86f501eab1f72a148280c12286244cd26acf (patch)
tree4b83f61b237601e3e0be81521368dc65edecc5dd /src/gallium/auxiliary/tgsi
parent17707d89f438d7f52a3918f9b351e1419314cb17 (diff)
gallium: add new semantic for clip vertex.
This is to match the gl_ClipVertex output from GLSL 1.20. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-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 9516095bd8b..973b9fec0d2 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c
@@ -71,7 +71,8 @@ const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT] =
"INSTANCEID",
"VERTEXID",
"STENCIL",
- "CLIPDIST"
+ "CLIPDIST",
+ "CLIPVERTEX"
};
const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] =