From f03c54e05a7a539216db5a5cb0da43766a8c27fe Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Sun, 25 Jun 2017 19:40:40 +0200 Subject: ac/nir,radeonsi: add and use ac_shader_abi::{ancillary,sample_coverage} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: update for LLVMValueRefs in ac_shader_abi Reviewed-by: Marek Olšák --- src/amd/common/ac_shader_abi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amd/common/ac_shader_abi.h') diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 1c8d0e8b3ab..fd62f22e2bf 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -45,6 +45,8 @@ struct ac_shader_abi { LLVMValueRef vertex_id; LLVMValueRef instance_id; LLVMValueRef front_face; + LLVMValueRef ancillary; + LLVMValueRef sample_coverage; /* For VS and PS: pre-loaded shader inputs. * -- cgit v1.2.3