ac/llvm: Implement the new tessellation intrinsics.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9201>
This commit is contained in:
Timur Kristóf
2021-02-19 17:29:00 +01:00
committed by Marge Bot
parent 60114f3865
commit 20a2801011
2 changed files with 28 additions and 0 deletions

View File

@@ -97,6 +97,10 @@ struct ac_shader_abi {
LLVMValueRef (*load_patch_vertices_in)(struct ac_shader_abi *abi);
LLVMValueRef (*load_ring_tess_offchip)(struct ac_shader_abi *abi);
LLVMValueRef (*load_ring_tess_factors)(struct ac_shader_abi *abi);
LLVMValueRef (*load_tess_level)(struct ac_shader_abi *abi, unsigned varying_id,
bool load_default_state);