gallium: Copy fd_lowering.[ch] to tgsi_lowering.[ch] for code sharing.
authorEric Anholt <eric@anholt.net>
Tue, 30 Sep 2014 20:07:23 +0000 (13:07 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Oct 2014 15:42:59 +0000 (17:42 +0200)
commit3141dc8e8794217e5aec094d3ce2e8a1c4e50e58
tree017ddc980b206f1d6a50c632d693f8e48f0b2859
parent84caf5a8617b99b6453fb66cb371a89ea2205dba
gallium: Copy fd_lowering.[ch] to tgsi_lowering.[ch] for code sharing.

Lots of drivers need to transform the weird instructions in TGSI into
reasonable scalar ops, and this code can make those translations
canonical.

Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/tgsi/tgsi_lowering.c [new file with mode: 0644]
src/gallium/auxiliary/tgsi/tgsi_lowering.h [new file with mode: 0644]