gallivm/draw: add support for draw_id system value.
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_tgsi.h
index d82044f770ff61185bfa1d739e661eedc1fac5ad..5019c1dd8f6e3ec2f6599602b06a496a947a6d8b 100644 (file)
@@ -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;