summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_abi.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-19 18:32:57 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:34 +0200
commit0c3b6a4bd9d21a615e4b4b64d66b15fd16b52795 (patch)
tree53b6ecf4932415c72f73b4810c5c17e7cdac4519 /src/amd/common/ac_shader_abi.h
parent1ea972e08af310a4489e72010ee0c1cefa985cb2 (diff)
ac,radeonsi: add ac_shader_abi::emit_outputs for hardware VS shaders
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h
index a872948dd01..81fbc22bb4d 100644
--- a/src/amd/common/ac_shader_abi.h
+++ b/src/amd/common/ac_shader_abi.h
@@ -42,6 +42,10 @@ struct ac_shader_abi {
* driver_location.
*/
LLVMValueRef *inputs;
+
+ void (*emit_outputs)(struct ac_shader_abi *abi,
+ unsigned max_outputs,
+ LLVMValueRef *addrs);
};
#endif /* AC_SHADER_ABI_H */