summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-12-05 10:31:49 +1100
committerTimothy Arceri <[email protected]>2018-01-05 11:58:55 +1100
commitb09a3196e038b521c6fd31d007e564be036d1144 (patch)
tree782bc770c648db4af04b5f7777b5aecc04cb7e0d /src/amd/common/ac_shader_abi.h
parente04bf8a61915c4a41171dec584679df42b50712d (diff)
ac: add load_tes_inputs() to the abi
V2: drop type param and just use ctx->i32 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h
index 68fc431d426..16cdde02d43 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -73,6 +73,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_ubo)(struct ac_shader_abi *abi, LLVMValueRef index);
/**