summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-02 10:23:46 +1100
committerTimothy Arceri <[email protected]>2018-02-07 08:43:08 +1100
commitc8066cdfa7e1f79a30869ea37ac0bd04763b93aa (patch)
tree327c7004504231dfbb9bf56d3c1849b6bef5fc1e /src/amd/common/ac_shader_abi.h
parentfa5239c1534a6ce5bf85602dddddba6df6d67724 (diff)
ac/radeonsi: add local_invocation_ids to the abi
Reviewed-by: Marek Olšák <[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 3d3dcc2e8e7..9a35ff925b4 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -54,6 +54,8 @@ struct ac_shader_abi {
LLVMValueRef ancillary;
LLVMValueRef sample_coverage;
LLVMValueRef prim_mask;
+ /* CS */
+ LLVMValueRef local_invocation_ids;
LLVMValueRef workgroup_ids[3];
/* For VS and PS: pre-loaded shader inputs.