summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-25 19:40:40 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:43 +0200
commitf03c54e05a7a539216db5a5cb0da43766a8c27fe (patch)
treea9ad80cc23faf5bf63293c9610d6f13921117cd0 /src/amd/common/ac_shader_abi.h
parent7de445377c261e20412cb4f34b8d309b62f78fac (diff)
ac/nir,radeonsi: add and use ac_shader_abi::{ancillary,sample_coverage}
v2: update for LLVMValueRefs in ac_shader_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 1c8d0e8b3ab..fd62f22e2bf 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -45,6 +45,8 @@ struct ac_shader_abi {
LLVMValueRef vertex_id;
LLVMValueRef instance_id;
LLVMValueRef front_face;
+ LLVMValueRef ancillary;
+ LLVMValueRef sample_coverage;
/* For VS and PS: pre-loaded shader inputs.
*