freedreno/lowering: cleanup api
authorRob Clark <robclark@freedesktop.org>
Sun, 23 Feb 2014 19:39:04 +0000 (14:39 -0500)
committerRob Clark <robclark@freedesktop.org>
Sun, 23 Feb 2014 19:58:23 +0000 (14:58 -0500)
commit1c953b7cda8169c1132259d83efff4df7afbf74a
tree81effc5b135a0ca182c3c851e2a7b067e36516f4
parent67cea4b32a27aaf8eb729cdb0a3fec2ff582a922
freedreno/lowering: cleanup api

Make things configurable, and tweak the API a bit to avoid an extra
tgsi_shader_scan().  Getting closer to something generic which can be
moved out of freedreno and shaderd by other drivers.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/freedreno_lowering.c
src/gallium/drivers/freedreno/freedreno_lowering.h