From patchwork Tue Dec 31 01:06:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182657 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp7007287ild; Mon, 30 Dec 2019 17:07:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzJi6wkzzDVOHz3zIxjpQ4TxC1YysYJjwt5w2gH0XYXwAB4c4VIY4vLio1gCey2TJE/a7Sb X-Received: by 2002:aa7:85d3:: with SMTP id z19mr74841474pfn.62.1577754454044; Mon, 30 Dec 2019 17:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577754454; cv=none; d=google.com; s=arc-20160816; b=c4aYRJi62ad25bffBmZbkgQDS9rS8TU5G+aCKBx/n0whJ1UBHfuzQcUsLdX4XJS9vA Njd1K9F3FAlfiwCtfqcV1Q7yN54RXTxGRJCQHTk+DUtXg5Kxx1KlOE2/wPNRA+XgEb2J VbwzQIVaAWZrOtlJ/nJUlJRBHyDiMJLDkdkCbxxEoJkUgF2KtRzndb88FISHPndcaYyr Z6Q5Gyns2x/C4a37r72ZE9iCXaQfTds6dyybCMiDIHI8Rb846SjO+l4viCyvHQJ3WJaP Zby2jB5qRl8+R+m/JAaACDJ3lJZbyKj8EpHUdh2rv6MPY46U63F0gpXR1xPiKEkzN9yQ 09TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=wq2JO59/IA9P79KviyxESfu7WasPmD0mVFHYWAuMKFY=; b=Zm3iCPiWyvlAhrkuInogPiEfwc+/u7sEuwpZwQPCdc5N6O9fSHQWIxUTpqKzO9lbsT Tj8/J97wJrtFDMnwAnAJRS/bi+a2Fz8EBOYYkZrOu0aC5qQZg+ACXfaQQN5Cv82MZC7X iTbwtP93ryXel+WRjhV6jyOmtRzD1oqhi6rVNucQsLXxyvWiWWBsArr235OptDB+wOwQ cDeRReZZ9bblgwlHO/gwdozej/GHudrEBVQM+yl56OEpYUKXtW/uZUpaYZHuNY40DTPf yfSIEtCRJhFFS5QRzy+lzn8tEDnVJJ8/Dpd405Kx1s0GQu2kCCoPhgkfiVPQRcbJNPF1 gwYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uZafuESg; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f1si35158727plo.307.2019.12.30.17.07.33; Mon, 30 Dec 2019 17:07:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uZafuESg; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 361F57FAB7; Tue, 31 Dec 2019 01:07:18 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mail.openembedded.org (Postfix) with ESMTP id 274C77FA24 for ; Tue, 31 Dec 2019 01:06:58 +0000 (UTC) Received: by mail-pl1-f174.google.com with SMTP id s21so12556682plr.7 for ; Mon, 30 Dec 2019 17:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yerTml6L2yrDvA5jtyfEFiHmbBzHXqbnOvyX/5TJtic=; b=uZafuESgfVZfaWr1MA7g3oirCmW1y1kxVynvf3Tm4W9vSViT5kHa7gQ9qmjJoHj/qL 9HoOms+oQt1atsFEM1Xrv1N+qoW/V4uHSvTFp1fJg3TpANiUvzP5RaN/fLcbzCk1dtro vMDk+zfTYnT1s4lwZwPadjgZoIB0ChU8wwN8yMPpDQzco4JemOKxJDMQCIN6XpBeBB8v PneVjvs1ovqRkJXwlLyAhMZc4aj2m0FMHIYp20O9GuWEiyM6X1CoJcHUp57+6iWFIro0 FP6sR+foeFy5NXsycHup8lyFxLwsRxy4tkg4W6sZt+Ne7Sp/4tDPnLFZEAwjGRucsfba P5Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yerTml6L2yrDvA5jtyfEFiHmbBzHXqbnOvyX/5TJtic=; b=YZ9ZUPJ6EL6aUisbxvodbg4L+U1kMh7zXrWz7zwKqE3Q4Z0ujQkInh1dIJhtHIck7V 8XSJ4ogQPyVHKT8pjOcQp1RDonrmIzr4/jMJNedcRNEOO7KwNzQtgJXVqiHyDLUIonw7 fO59TPrH42ZrGgSI9ltzK3ywxaGxtK3M6aTxFI7xGZ+wTI8IIhatlpkJFguvvYoWRU8y vylNl0gk2QJd6H+A22EI1o2nSFi5Jyc4v9QwgitlNwCeOcdT0CDToQi6RWrNAUPT7sEz 8DpYLVqcfjag2JjkDkIhrJgPwyDKnWaK56CPT4KLEx5fld9XzIhYGG26vvqwUdteQbAY Y1Jg== X-Gm-Message-State: APjAAAVGqeS7DD62HIdPhXppfXA7R7uWOw1FZ/VzlekAbsCBiPdFgI4p Drf5eTF7gEo46ZD6tomh9+bncEnpH/c= X-Received: by 2002:a17:90a:c301:: with SMTP id g1mr2750953pjt.67.1577754418904; Mon, 30 Dec 2019 17:06:58 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::fa4b]) by smtp.gmail.com with ESMTPSA id k1sm47345844pgq.70.2019.12.30.17.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 17:06:58 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 30 Dec 2019 17:06:48 -0800 Message-Id: <20191231010652.3206534-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191231010652.3206534-1-raj.khem@gmail.com> References: <20191231010652.3206534-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/8] renderdoc: Upgrade to 1.5 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Backport a patch from glslang to fix a build error https://github.com/KhronosGroup/glslang/issues/1869 Signed-off-by: Khem Raj --- ...-glslang-pool_allocator-setAllocator.patch | 31 +++++++++++++++++++ .../{renderdoc_1.4.bb => renderdoc_1.5.bb} | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch rename meta-oe/recipes-graphics/renderdoc/{renderdoc_1.4.bb => renderdoc_1.5.bb} (90%) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch b/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch new file mode 100644 index 0000000000..6ba1e42687 --- /dev/null +++ b/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch @@ -0,0 +1,31 @@ +From 49dd914109fd1ee9e1e917890bf18f85dd95ff31 Mon Sep 17 00:00:00 2001 +From: Reid Kleckner +Date: Sun, 29 Dec 2019 23:17:16 -0800 +Subject: [PATCH] Remove glslang::pool_allocator::setAllocator + +TPoolAllocator is not copy assignable, so this setter could never have +been used. After a recent change (878a24ee2), new versions of Clang +reject this code outright. + +Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/0de87ee9a5bf5d094a3faa1a71fd9080e80b6be0] + +Signed-off-by: Khem Raj +--- + renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h b/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h +index 0e237a6a2..b8eccb883 100644 +--- a/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h ++++ b/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h +@@ -304,7 +304,6 @@ public: + size_type max_size() const { return static_cast(-1) / sizeof(T); } + size_type max_size(int size) const { return static_cast(-1) / size; } + +- void setAllocator(TPoolAllocator* a) { allocator = *a; } + TPoolAllocator& getAllocator() const { return allocator; } + + protected: +-- +2.24.1 + diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb similarity index 90% rename from meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb rename to meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb index 784f6fbb8c..5f81e841dc 100644 --- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb +++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb @@ -4,9 +4,10 @@ HOMEPAGE = "https://github.com/baldurk/renderdoc" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9753b1b4fba3261c27d1ce5c1acef667" -SRCREV = "214d85228538e71cc63a0d7fa11dd75b1d56cc81" +SRCREV = "a94f238e37cfe2f142093eb8e5da7775abaa88c6" SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \ file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \ + file://0001-Remove-glslang-pool_allocator-setAllocator.patch \ " S = "${WORKDIR}/git"