summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-11-09 15:23:23 +1100
committerTimothy Arceri <[email protected]>2017-11-16 10:54:03 +1100
commitb73ce64fb8d71dd4cecaa9548a9bc4ba110c24e8 (patch)
tree90847efbb13d3d9f1d23522e8186885b0106f203 /src/amd/common/ac_shader_abi.h
parent8ae92a9209028f5fbd2abae26b5e11047c359407 (diff)
ac: add gs_{prim,invocation}_id to the abi
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r--src/amd/common/ac_shader_abi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h
index 27586d0212f..56209bd9175 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -42,6 +42,8 @@ struct ac_shader_abi {
LLVMValueRef draw_id;
LLVMValueRef vertex_id;
LLVMValueRef instance_id;
+ LLVMValueRef gs_prim_id;
+ LLVMValueRef gs_invocation_id;
LLVMValueRef frag_pos[4];
LLVMValueRef front_face;
LLVMValueRef ancillary;