ac/radv: change api to create target machine
authorDave Airlie <airlied@redhat.com>
Thu, 6 Jul 2017 01:56:21 +0000 (02:56 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Jul 2017 22:05:59 +0000 (23:05 +0100)
commit9d9f0513905af4c916bb01253b324218fccb4272
tree9e84c9197535baf2cc99c2566c96feecc4388350
parent076faf8764d3cd8038145286f7533d0a18e82476
ac/radv: change api to create target machine

This just modifies the API to make it easier to add other flags
to target machine creation.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/amd/vulkan/radv_pipeline.c