diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-24 21:06:34 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-06-27 10:28:30 +1000 |
commit | 58d496c8e2a1be142de236af9da4dda87751b30e (patch) | |
tree | 87c65c7e292ea41a113d0dea0291b01768c18944 /src | |
parent | 6ecef25545c2a7578588c337e84b2f8779eb3478 (diff) |
ac/nir: remove unused nir_to_llvm_context::has_ddxy
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index aec5d39e53e..67df46a7afb 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -160,7 +160,6 @@ struct nir_to_llvm_context { uint64_t output_mask; int num_locals; LLVMValueRef *locals; - bool has_ddxy; uint8_t num_output_clips; uint8_t num_output_culls; @@ -1455,7 +1454,6 @@ static LLVMValueRef emit_ddxy(struct nir_to_llvm_context *ctx, unsigned mask; int idx; LLVMValueRef result; - ctx->has_ddxy = true; if (!ctx->lds && !ctx->has_ds_bpermute) ctx->lds = LLVMAddGlobalInAddressSpace(ctx->module, |