r600g,compute: provide local copy of functions from ac_binary.c
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 2 Jun 2017 16:37:07 +0000 (12:37 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Jun 2017 11:41:44 +0000 (12:41 +0100)
commitd96a210842bf643716ebceb5aba5c92a564aab14
tree5a01f83374cd42beebb6669133c3bfa1b052ab20
parentd41b7b0104822534497a7a2f0b9ad011eb26c14f
r600g,compute: provide local copy of functions from ac_binary.c

This is a verbatim copy of the code. The functions can be cleaned up since
r600 does not use all the stuff that gcn does.
The symbol names have been changed since we still use ac_binary.h header
(for struct definition)

v2: Add ifdef guard around r600_binary_clean call (Aaron)
    Remove stray comment

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Tested-By: Aaron Watry <awatry@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac
src/gallium/drivers/r600/Automake.inc
src/gallium/drivers/r600/Makefile.am
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreen_compute_internal.h
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/targets/pipe-loader/Makefile.am