diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2017-11-08 14:20:23 +1100 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2017-12-04 12:52:19 +1100 |
commit | ccd1810bbaf38ee31bd973f903bc9871cc8b1171 (patch) | |
tree | c4c5d5511aefccdd6790386983c7fb82cad560ab /src/amd/common/ac_shader_abi.h | |
parent | caf15ce67001f09e4258ac545b7ed655eb63211c (diff) |
ac: add si_nir_load_input_gs() to the abi
V2: make use of driver_location and don't expose NIR to the ABI.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 56209bd9175..68fc431d426 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -64,6 +64,15 @@ struct ac_shader_abi { unsigned stream, LLVMValueRef *addrs); + LLVMValueRef (*load_inputs)(struct ac_shader_abi *abi, + unsigned location, + unsigned driver_location, + unsigned component, + unsigned num_components, + unsigned vertex_index, + unsigned const_index, + LLVMTypeRef type); + LLVMValueRef (*load_ubo)(struct ac_shader_abi *abi, LLVMValueRef index); /** |