projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallivm/draw: add support for draw_id system value.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
gallivm
/
lp_bld_tgsi.h
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
index d82044f770ff61185bfa1d739e661eedc1fac5ad..5019c1dd8f6e3ec2f6599602b06a496a947a6d8b 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
@@
-171,6
+171,7
@@
struct lp_bld_tgsi_system_values {
LLVMValueRef prim_id;
LLVMValueRef basevertex;
LLVMValueRef invocation_id;
+ LLVMValueRef draw_id;
LLVMValueRef thread_id;
LLVMValueRef block_id;
LLVMValueRef grid_size;