summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-02 14:33:06 +1100
committerTimothy Arceri <[email protected]>2018-02-07 08:43:08 +1100
commit9c52902c7686e781935703f4ed0e22f6c1837cfb (patch)
treeb235adaf91d3b96791ed99f3fce08613150a5f83 /src/amd/common/ac_shader_abi.h
parentf12e2f9c12cae539ecc43578d3e3a6a33df473bc (diff)
ac/radeonsi: add num_work_groups 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h
index 55842ea342d..9499c1a15fd 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -56,6 +56,7 @@ struct ac_shader_abi {
LLVMValueRef prim_mask;
/* CS */
LLVMValueRef local_invocation_ids;
+ LLVMValueRef num_work_groups;
LLVMValueRef workgroup_ids[3];
/* For VS and PS: pre-loaded shader inputs.