meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Remove-dead-variable-984.patch
Khem Raj 1bd5688a0b vulkan-cts,opengl-es-cts: Upgrade to1.3.3.1 and 3.2.8 respectively
Add needed depednency on vulkan-docs, jsoncpp and python3-xml-native as they are
added newly in these versions.

Delete patches already applied in this release

Backport one amber patch to fix compile with clang

Forward port the remaining patches

Add mechanism to run target test binaries using qemu usermode

Override WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR

Let these variables be set via cmake cmdline before enquiring via pkg-config

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-11 23:27:08 -07:00

35 lines
1.1 KiB
Diff

From 0d863b444c9a54a92dab176b1b656c116923e1ca Mon Sep 17 00:00:00 2001
From: alan-baker <alanbaker@google.com>
Date: Wed, 30 Mar 2022 12:59:28 -0400
Subject: [PATCH] Remove dead variable (#984)
Upstream-Status: Backport [https://github.com/google/amber/commit/627ee453d6047ced0e2dd13cde983b341d0615e3]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/vkscript/command_parser.cc | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/vkscript/command_parser.cc b/src/vkscript/command_parser.cc
index 610c7e6..3429d4d 100644
--- a/src/vkscript/command_parser.cc
+++ b/src/vkscript/command_parser.cc
@@ -486,7 +486,6 @@ Result CommandParser::ParseValues(const std::string& name,
std::vector<Value>* values) {
assert(values);
- uint32_t row_index = 0;
auto token = tokenizer_->NextToken();
size_t seen = 0;
while (!token->IsEOL() && !token->IsEOS()) {
@@ -515,7 +514,6 @@ Result CommandParser::ParseValues(const std::string& name,
values->push_back(v);
token = tokenizer_->NextToken();
- ++row_index;
++seen;
}
--
2.37.3