radv: Implement bc optimize.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 15 Aug 2017 16:09:21 +0000 (18:09 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 23 Aug 2017 22:57:03 +0000 (00:57 +0200)
commit6bafb56df69b5804dd113d24285312f266cadae2
tree5b735664efb610afac7642707204202eb2372b66
parenta7f5545ede8aabd270025a59bd8077f066ba4432
radv: Implement bc optimize.

Seems like we actually enabled it already, but did not implement
the shader part. With this patch we do.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_pipeline.c