diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-31 09:54:48 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-08-30 08:23:54 +0200 |
commit | a63719db6ab07417fe2eb90fb041bc4b807bab18 (patch) | |
tree | a20ff1d2b526a8938f9ca01ac2defbb77fb238ee /src/amd/common/ac_shader_abi.h | |
parent | 8be51061eca39a766f5304198dc6f42296232b22 (diff) |
ac: import linear/perspective PS input parameters from radv/radeonsi
Signed-off-by: Samuel Pitoiset <[email protected]>
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index ef628c1ff10..935355fbffa 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -58,6 +58,8 @@ struct ac_shader_abi { LLVMValueRef tes_patch_id; LLVMValueRef gs_prim_id; LLVMValueRef gs_invocation_id; + + /* PS */ LLVMValueRef frag_pos[4]; LLVMValueRef front_face; LLVMValueRef ancillary; @@ -66,6 +68,13 @@ struct ac_shader_abi { LLVMValueRef color0; LLVMValueRef color1; LLVMValueRef user_data; + LLVMValueRef persp_sample; + LLVMValueRef persp_center; + LLVMValueRef persp_centroid; + LLVMValueRef linear_sample; + LLVMValueRef linear_center; + LLVMValueRef linear_centroid; + /* CS */ LLVMValueRef local_invocation_ids; LLVMValueRef num_work_groups; |