From patchwork Fri Nov 19 13:52:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wu Jianhua X-Patchwork-Id: 31492 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp2414725iob; Fri, 19 Nov 2021 05:54:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyATp79McvHD6wxwKW0xwJrjFYOq86/zS7lReiuv2+kgE4yB2udtUkRmESWB/bO3eos0bzN X-Received: by 2002:aa7:d794:: with SMTP id s20mr24772690edq.305.1637330079369; Fri, 19 Nov 2021 05:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637330079; cv=none; d=google.com; s=arc-20160816; b=zl6SNXLvhkORLZCL3t0jlYgw5akPLT619ID6HiMKJtRV4UKAFZFhi5jOwv+lC+Wagf NPOc8c+5o34/A7Bek0N8ST9N0aclLxjsuPDEr9LVGjLyDBJRWvs5TeGYAI3mep98IAHH OBXeP4vFddrO2oetD386zQwSF2uikXHfEvmgZS/zOBWDnxs2XiGHgNRq7p8Urh03In+2 /wgbja9n/XQ9G6TrT2L+mCLY2mgNvIdd1PkaFGcuRidAPoFCSIsiOMZkx2Zmyav0CBvT mFEXE5VRHWtcz8TcwX+ABpyV9Dj4dAT8LOs4ctVrVtPxs9XHRuMMS8J9hqbxVQ+AB0I/ UzGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to; bh=dH1x6wMGailf9WrhfK180QhMJbFlEy00C+Zl/7EfO3Q=; b=AVvBtQoArjAudx614asCole5x/Xz6MHDsLHaQQYYl1nO9tjgD6LhwdEr6RG6KSeVFa UtsKW5SmzywtORvpbNqimXCGr9HjP7tshw+vlb3gd1E4kN/aPIVgMEONTbzBfuuRg0xO 5mM9SQldBvfXS+C2yHsewcm/OnXDmjIEB4RL3rAoTq0pYvULvsBVRqp3cKjEdyzCiTEE QQHF3NQ8prQvcfV1JDmV0CpYTQ28xnHYaj0dtH9bLalEsmZTKSJcS8ctxXTWuZOawEk1 4qa4yNFsQYKUja78yaoJWTSGEeY8zaF5HKHa2ixcbvI+i9LOwr7LH3Ni1lZYOLzknRNb jl0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id fj2si8799965ejc.474.2021.11.19.05.54.38; Fri, 19 Nov 2021 05:54:39 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9677868AA82; Fri, 19 Nov 2021 15:53:16 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C2DCD68AA83 for ; Fri, 19 Nov 2021 15:53:11 +0200 (EET) X-IronPort-AV: E=McAfee;i="6200,9189,10172"; a="231896483" X-IronPort-AV: E=Sophos;i="5.87,247,1631602800"; d="scan'208";a="231896483" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2021 05:53:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,247,1631602800"; d="scan'208";a="507906045" Received: from otc-skl-e5-server.sh.intel.com ([10.239.43.106]) by orsmga008.jf.intel.com with ESMTP; 19 Nov 2021 05:53:04 -0800 From: Wu Jianhua To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Nov 2021 21:52:48 +0800 Message-Id: <20211119135248.14518-11-jianhua.wu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211119135248.14518-1-jianhua.wu@intel.com> References: <20211119135248.14518-1-jianhua.wu@intel.com> Subject: [FFmpeg-devel] [PATCH 11/11] avutil/vulkan_glslang: fix compiling failure issue X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Wu Jianhua MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: eVvrDJvQgI5U Signed-off-by: Wu Jianhua --- libavutil/vulkan_glslang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c index ac5efe2365..e7785f6d40 100644 --- a/libavutil/vulkan_glslang.c +++ b/libavutil/vulkan_glslang.c @@ -219,10 +219,10 @@ static int glslc_shader_compile(FFVkSPIRVCompiler *ctx, void *avctx, messages = glslang_program_SPIRV_get_messages(glslc_program); if (messages) { - ff_vk_print_shader(s, shd, AV_LOG_WARNING); + ff_vk_print_shader(avctx, shd, AV_LOG_WARNING); av_log(avctx, AV_LOG_WARNING, "%s\n", messages); } else { - ff_vk_print_shader(s, shd, AV_LOG_VERBOSE); + ff_vk_print_shader(avctx, shd, AV_LOG_VERBOSE); } glslang_shader_delete(glslc_shader);