radeonsi/ac: move most of emit_ddxy to shared code.
authorDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 23:52:52 +0000 (09:52 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Feb 2017 23:54:04 +0000 (09:54 +1000)
commitc9a2fc367940d1b367bee2583eed161f682f2998
treea1feec77a6454e6598c2c8aa8fd6400143a9a393
parent278d5ef70a808532af9d38ec8681264bdfd72749
radeonsi/ac: move most of emit_ddxy to shared code.

We can reuse this in radv.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/gallium/drivers/radeonsi/si_shader.c