ac/nir: remove unused nir_to_llvm_context::has_ddxy

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Nicolai Hähnle 2017-06-24 21:06:34 +02:00 committed by Dave Airlie
parent 6ecef25545
commit 58d496c8e2
1 changed files with 0 additions and 2 deletions

View File

@ -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,