ac/nir,radeonsi: add and use ac_shader_abi::frag_pos
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 25 Jun 2017 17:48:09 +0000 (19:48 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:43 +0000 (14:55 +0200)
commit1c64637c26401d37b90acbe7693b3b10e39f9932
treedfc1bf95bd149c47787d50599e0a3751988ddb9c
parentf03c54e05a7a539216db5a5cb0da43766a8c27fe
ac/nir,radeonsi: add and use ac_shader_abi::frag_pos

v2: update for LLVMValueRefs in ac_shader_abi

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/gallium/drivers/radeonsi/si_shader.c