mesa/st: translate gl_InvocationID to INVOCATIONID semantic
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 24 Apr 2014 02:30:46 +0000 (22:30 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 26 Apr 2014 15:57:15 +0000 (11:57 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index ee8c54af11ba7ba78d764f834b73b93b3e5ee31f..e87e761fa96a627ef2cffa52158db6986400817d 100644 (file)
@@ -4167,6 +4167,7 @@ static unsigned mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = {
    TGSI_SEMANTIC_SAMPLEID,
    TGSI_SEMANTIC_SAMPLEPOS,
    TGSI_SEMANTIC_SAMPLEMASK,
+   TGSI_SEMANTIC_INVOCATIONID,
 };
 
 /**