summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandolph Sapp <rs@ti.com>2024-06-17 19:52:03 -0500
committerKhem Raj <raj.khem@gmail.com>2024-06-18 17:38:28 -0700
commit952ea2bab1a0d444d48372e88328a9d78ef4e3f8 (patch)
tree3efc2e7bce3ec51336902e25c0845a3d130a2d9e
parent487a2d569554ef62fa779f2ac39c4fe61b002bf8 (diff)
downloadmeta-openembedded-952ea2bab1a0d444d48372e88328a9d78ef4e3f8.tar.gz
vulkan-cts: add workaround for createMeshShaderMiscTestsEXT
Remove the CXX flag "-O2" for GCC 13 and 14. There's a bug with ARM GCC that breaks the iteration of "types" in the createMeshShaderMiscTestsEXT function. This issue is not present for clang or x86_64 GCC 14. It seems that the array is not initialized before the first iteration. In testing this can result in a random value being used. This can manifest in LINES type being processed twice, resulting in the following error: FATAL ERROR: Failed to initialize dEQP: Test case with non-unique name 'no_lines' added to group 'misc'. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
index 1008a5fd42..7492fe9aa4 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
+++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
@@ -23,6 +23,9 @@ SRC_URI += "file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.pat
23 23
24TOOLCHAIN = "gcc" 24TOOLCHAIN = "gcc"
25 25
26# Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
27OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
28
26S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
27 30
28REQUIRED_DISTRO_FEATURES = "vulkan" 31REQUIRED_DISTRO_FEATURES = "vulkan"