[Mesa-dev] [PATCH] ac/llvm: drop v4f32empty.
Dave Airlie
airlied at gmail.com
Thu Oct 26 05:22:06 UTC 2017
From: Dave Airlie <airlied at redhat.com>
This was unused.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/common/ac_nir_to_llvm.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 9713c06..860f39c 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -150,8 +150,6 @@ struct nir_to_llvm_context {
LLVMTypeRef v4f32;
LLVMTypeRef voidt;
- LLVMValueRef v4f32empty;
-
unsigned uniform_md_kind;
LLVMValueRef empty_md;
gl_shader_stage stage;
@@ -1017,12 +1015,6 @@ static void setup_types(struct nir_to_llvm_context *ctx)
ctx->v2f32 = LLVMVectorType(ctx->f32, 2);
ctx->v4f32 = LLVMVectorType(ctx->f32, 4);
- args[0] = ctx->ac.f32_0;
- args[1] = ctx->ac.f32_0;
- args[2] = ctx->ac.f32_0;
- args[3] = ctx->ac.f32_1;
- ctx->v4f32empty = LLVMConstVector(args, 4);
-
ctx->uniform_md_kind =
LLVMGetMDKindIDInContext(ctx->context, "amdgpu.uniform", 14);
ctx->empty_md = LLVMMDNodeInContext(ctx->context, NULL, 0);
--
2.9.5
More information about the mesa-dev
mailing list