diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-11-02 17:47:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-03 08:21:10 +0000 |
commit | 5cf7c8c8b667a63f5e1f87618dcfc1aa3f9a50df (patch) | |
tree | 9eba1b0726e2a8afeca395986d143801b0952d8c /meta/recipes-graphics/spir | |
parent | 4a7ca52c9e6ce067b8f47deda3cd2bd9cb0f2b31 (diff) | |
download | poky-5cf7c8c8b667a63f5e1f87618dcfc1aa3f9a50df.tar.gz |
spirv-tools: upgrade 2019.5 -> 2020.5
(From OE-Core rev: 2a6fe25769236ec7d5ead3c29864f2292ffb3fd5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/spir')
-rw-r--r-- | meta/recipes-graphics/spir/files/0001-Avoid-pessimizing-std-move-3124.patch | 50 | ||||
-rw-r--r-- | meta/recipes-graphics/spir/spirv-tools_2020.5.bb (renamed from meta/recipes-graphics/spir/spirv-tools_2019.5.bb) | 5 |
2 files changed, 2 insertions, 53 deletions
diff --git a/meta/recipes-graphics/spir/files/0001-Avoid-pessimizing-std-move-3124.patch b/meta/recipes-graphics/spir/files/0001-Avoid-pessimizing-std-move-3124.patch deleted file mode 100644 index 9b48cdcd09..0000000000 --- a/meta/recipes-graphics/spir/files/0001-Avoid-pessimizing-std-move-3124.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 4fffcd275b50d08b54b0411679ead98970651bad Mon Sep 17 00:00:00 2001 | ||
2 | From: David Neto <dneto@google.com> | ||
3 | Date: Fri, 27 Dec 2019 12:05:58 -0500 | ||
4 | Subject: [PATCH] Avoid pessimizing std::move (#3124) | ||
5 | |||
6 | Should fix a warning | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/KhronosGroup/SPIRV-Tools/commit/8aa423930db37e37086665efcc55944d577c06e5] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | test/opt/pass_fixture.h | 9 +++------ | ||
12 | 1 file changed, 3 insertions(+), 6 deletions(-) | ||
13 | |||
14 | diff --git a/test/opt/pass_fixture.h b/test/opt/pass_fixture.h | ||
15 | index 53fb206f..64c089d8 100644 | ||
16 | --- a/test/opt/pass_fixture.h | ||
17 | +++ b/test/opt/pass_fixture.h | ||
18 | @@ -60,8 +60,7 @@ class PassTest : public TestT { | ||
19 | // from pass Process() function. | ||
20 | std::tuple<std::vector<uint32_t>, Pass::Status> OptimizeToBinary( | ||
21 | Pass* pass, const std::string& original, bool skip_nop) { | ||
22 | - context_ = | ||
23 | - std::move(BuildModule(env_, consumer_, original, assemble_options_)); | ||
24 | + context_ = BuildModule(env_, consumer_, original, assemble_options_); | ||
25 | EXPECT_NE(nullptr, context()) << "Assembling failed for shader:\n" | ||
26 | << original << std::endl; | ||
27 | if (!context()) { | ||
28 | @@ -197,8 +196,7 @@ class PassTest : public TestT { | ||
29 | // messages. | ||
30 | template <typename PassT, typename... Args> | ||
31 | void SinglePassRunAndFail(const std::string& original, Args&&... args) { | ||
32 | - context_ = | ||
33 | - std::move(BuildModule(env_, consumer_, original, assemble_options_)); | ||
34 | + context_ = BuildModule(env_, consumer_, original, assemble_options_); | ||
35 | EXPECT_NE(nullptr, context()) << "Assembling failed for shader:\n" | ||
36 | << original << std::endl; | ||
37 | std::ostringstream errs; | ||
38 | @@ -235,8 +233,7 @@ class PassTest : public TestT { | ||
39 | void RunAndCheck(const std::string& original, const std::string& expected) { | ||
40 | assert(manager_->NumPasses()); | ||
41 | |||
42 | - context_ = | ||
43 | - std::move(BuildModule(env_, nullptr, original, assemble_options_)); | ||
44 | + context_ = BuildModule(env_, nullptr, original, assemble_options_); | ||
45 | ASSERT_NE(nullptr, context()); | ||
46 | |||
47 | context()->set_preserve_bindings(OptimizerOptions()->preserve_bindings_); | ||
48 | -- | ||
49 | 2.24.1 | ||
50 | |||
diff --git a/meta/recipes-graphics/spir/spirv-tools_2019.5.bb b/meta/recipes-graphics/spir/spirv-tools_2020.5.bb index 0b54706974..5e42987240 100644 --- a/meta/recipes-graphics/spir/spirv-tools_2019.5.bb +++ b/meta/recipes-graphics/spir/spirv-tools_2020.5.bb | |||
@@ -14,10 +14,9 @@ SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;name=spirv-tools \ | |||
14 | git://github.com/google/re2.git;name=re2;destsuffix=${DEST_DIR}/re2 \ | 14 | git://github.com/google/re2.git;name=re2;destsuffix=${DEST_DIR}/re2 \ |
15 | git://github.com/google/googletest.git;name=googletest;destsuffix=${DEST_DIR}/googletest \ | 15 | git://github.com/google/googletest.git;name=googletest;destsuffix=${DEST_DIR}/googletest \ |
16 | file://0001-Respect-CMAKE_INSTALL_LIBDIR-in-installed-CMake-file.patch;destsuffix=${DEST_DIR}/effcee \ | 16 | file://0001-Respect-CMAKE_INSTALL_LIBDIR-in-installed-CMake-file.patch;destsuffix=${DEST_DIR}/effcee \ |
17 | file://0001-Avoid-pessimizing-std-move-3124.patch \ | ||
18 | " | 17 | " |
19 | SRCREV_spirv-tools = "c413b982c316b14e784f50d941814fc737b55b4a" | 18 | SRCREV_spirv-tools = "b27e039c68dd9eb959bb9249fcb2c9a54841474b" |
20 | SRCREV_spirv-headers = "af64a9e826bf5bb5fcd2434dd71be1e41e922563" | 19 | SRCREV_spirv-headers = "3fdabd0da2932c276b25b9b4a988ba134eba1aa6" |
21 | SRCREV_effcee = "cd25ec17e9382f99a895b9ef53ff3c277464d07d" | 20 | SRCREV_effcee = "cd25ec17e9382f99a895b9ef53ff3c277464d07d" |
22 | SRCREV_re2 = "5bd613749fd530b576b890283bfb6bc6ea6246cb" | 21 | SRCREV_re2 = "5bd613749fd530b576b890283bfb6bc6ea6246cb" |
23 | SRCREV_googletest = "f2fb48c3b3d79a75a88a99fba6576b25d42ec528" | 22 | SRCREV_googletest = "f2fb48c3b3d79a75a88a99fba6576b25d42ec528" |