diff options
author | Dave Airlie <[email protected]> | 2017-08-01 05:10:49 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-08-02 00:12:01 +0100 |
commit | cb6f16dce90b4737f62588f8ea5083ee6544787e (patch) | |
tree | f950568eda3a9e996d7ef2390048dbf7f32a7de4 /src/amd/common/ac_llvm_build.h | |
parent | 35338a242bbe72bbd75082917f36ffb991be9a62 (diff) |
radeon/ac: use ds_swizzle for derivs on si/cik.
This looks like it's supported since llvm 3.9 at least,
so switch over radeonsi and radv to using it, -pro also
uses this. We can now drop creating lds for these operations
as the ds_swizzle operation doesn't actually write to lds at all.
Acked-by: Marek Olšák <[email protected]>
(stable requested due to fixing radv CIK conformance tests)
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index 09fd585706a..ee27d3ca25c 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -174,7 +174,6 @@ ac_build_ddxy(struct ac_llvm_context *ctx, bool has_ds_bpermute, uint32_t mask, int idx, - LLVMValueRef lds, LLVMValueRef val); #define AC_SENDMSG_GS 2 |