diff options
author | Timothy Arceri <[email protected]> | 2018-01-09 12:12:45 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-18 00:03:33 +1100 |
commit | 9622b445c87e6099a3cafe5b868fa5820dfdfd3f (patch) | |
tree | 459175bdf4fa8b914d09272354af0bc7920806d8 /src/amd/common/ac_shader_abi.h | |
parent | a20016d8277f9cd68620784417a57ae227783a04 (diff) |
ac/radeonsi: add tcs load outputs support
The code to load outputs is essentially the same as load inputs
so we make the interface more generic to maximise code sharing.
We will make use of the new support in the following patch.
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.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 06e61207ec2..3e9e7a47861 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -76,16 +76,17 @@ struct ac_shader_abi { unsigned const_index, LLVMTypeRef type); - LLVMValueRef (*load_tess_inputs)(struct ac_shader_abi *abi, - LLVMValueRef vertex_index, - LLVMValueRef param_index, - unsigned const_index, - unsigned location, - unsigned driver_location, - unsigned component, - unsigned num_components, - bool is_patch, - bool is_compact); + LLVMValueRef (*load_tess_varyings)(struct ac_shader_abi *abi, + LLVMValueRef vertex_index, + LLVMValueRef param_index, + unsigned const_index, + unsigned location, + unsigned driver_location, + unsigned component, + unsigned num_components, + bool is_patch, + bool is_compact, + bool load_inputs); void (*store_tcs_outputs)(struct ac_shader_abi *abi, LLVMValueRef vertex_index, |