Mesa (master): ac/nir: remove unused nir_to_llvm_context::has_ddxy
Dave Airlie
airlied at kemper.freedesktop.org
Tue Jun 27 00:28:48 UTC 2017
Module: Mesa
Branch: master
Commit: 58d496c8e2a1be142de236af9da4dda87751b30e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d496c8e2a1be142de236af9da4dda87751b30e
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Sat Jun 24 21:06:34 2017 +0200
ac/nir: remove unused nir_to_llvm_context::has_ddxy
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/common/ac_nir_to_llvm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index aec5d39e53..67df46a7af 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,
More information about the mesa-commit
mailing list