ac/llvm: fix b2f for v2f16
[mesa.git] / src / amd / llvm / ac_llvm_build.c
index 861db0d889ae73d21fc2923fcaece79af701f6fa..79a5f8fbb2bad3f87b5163455366dee651a78640 100644 (file)
@@ -2751,7 +2751,7 @@ LLVMValueRef ac_build_fract(struct ac_llvm_context *ctx, LLVMValueRef src0,
                                  AC_FUNC_ATTR_READNONE);
 }
 
-static LLVMValueRef ac_const_uint_vec(struct ac_llvm_context *ctx, LLVMTypeRef type, uint64_t value)
+LLVMValueRef ac_const_uint_vec(struct ac_llvm_context *ctx, LLVMTypeRef type, uint64_t value)
 {
 
        if (LLVMGetTypeKind(type) == LLVMVectorTypeKind) {