Module: Mesa
Branch: master
Commit: e73a467005a0eed193166eae39cb56882d2897bb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e73a467005a0eed193166eae39cb56882d2897bb

Author: Timothy Arceri <[email protected]>
Date:   Thu Nov  2 13:34:13 2017 +1100

ac: remove usused v4f32

Reviewed-by: Marek Olšák <[email protected]
Acked-by: Nicolai Hähnle <[email protected]>

---

 src/amd/common/ac_nir_to_llvm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index ac50debdde..ec51ed7007 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -134,8 +134,6 @@ struct nir_to_llvm_context {
        LLVMValueRef persp_sample, persp_center, persp_centroid;
        LLVMValueRef linear_sample, linear_center, linear_centroid;
 
-       LLVMTypeRef v4f32;
-
        unsigned uniform_md_kind;
        LLVMValueRef empty_md;
        gl_shader_stage stage;
@@ -984,8 +982,6 @@ static void create_function(struct nir_to_llvm_context *ctx,
 
 static void setup_types(struct nir_to_llvm_context *ctx)
 {
-       ctx->v4f32 = LLVMVectorType(ctx->ac.f32, 4);
-
        ctx->uniform_md_kind =
            LLVMGetMDKindIDInContext(ctx->context, "amdgpu.uniform", 14);
        ctx->empty_md = LLVMMDNodeInContext(ctx->context, NULL, 0);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to