projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389379e
)
mesa/st: translate gl_InvocationID to INVOCATIONID semantic
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 24 Apr 2014 02:30:46 +0000
(22:30 -0400)
committer
Ilia 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index ee8c54af11ba7ba78d764f834b73b93b3e5ee31f..e87e761fa96a627ef2cffa52158db6986400817d 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-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,
};
/**