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/gallium/drivers/radeonsi/si_shader_internal.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/gallium/drivers/radeonsi/si_shader_internal.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h index 6b4acc51f9c..7306481ccd9 100644 --- a/src/gallium/drivers/radeonsi/si_shader_internal.h +++ b/src/gallium/drivers/radeonsi/si_shader_internal.h @@ -283,7 +283,8 @@ LLVMValueRef si_nir_load_input_tes(struct ac_shader_abi *abi, unsigned component, unsigned num_components, bool is_patch, - bool is_compact); + bool is_compact, + bool load_input); LLVMValueRef si_llvm_load_input_gs(struct ac_shader_abi *abi, unsigned input_index, |