ci: Uprev GL & GLES CTS
Update to the newest releases. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13076 Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34321>
This commit is contained in:
committed by
Marge Bot
parent
f36ac8434c
commit
5ee7a4c1e9
@@ -25,8 +25,8 @@ set -x
|
||||
|
||||
DEQP_MAIN_COMMIT=f66e0ae866117f3d7375763bf5ec194404d88cdb
|
||||
DEQP_VK_VERSION=1.4.1.1
|
||||
DEQP_GL_VERSION=4.6.5.0
|
||||
DEQP_GLES_VERSION=3.2.11.0
|
||||
DEQP_GL_VERSION=4.6.6.0
|
||||
DEQP_GLES_VERSION=3.2.12.0
|
||||
|
||||
# Patches to VulkanCTS may come from commits in their repo (listed in
|
||||
# cts_commits_to_backport) or patch files stored in our repo (in the patch
|
||||
@@ -36,8 +36,8 @@ DEQP_GLES_VERSION=3.2.11.0
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
main_cts_commits_to_backport=(
|
||||
# If you find yourself wanting to add something in here, consider whether
|
||||
# bumping DEQP_MAIN_COMMIT is not a better solution :)
|
||||
# If you find yourself wanting to add something in here, consider whether
|
||||
# bumping DEQP_MAIN_COMMIT is not a better solution :)
|
||||
)
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
@@ -56,31 +56,29 @@ vk_cts_patch_files=(
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
gl_cts_commits_to_backport=(
|
||||
# Add #include <cmath> in deMath.h when being compiled by C++
|
||||
71808fe7d0a640dfd703e845d93ba1c5ab751055
|
||||
# Revert "Add #include <cmath> in deMath.h when being compiled by C++ compiler"
|
||||
# This also adds an alternative fix along with the revert.
|
||||
6164879a0acce258637d261592a9c395e564b361
|
||||
# Add testing for GL_PRIMITIVES_SUBMITTED_ARB query.
|
||||
e075ce73ddc5973aa46a5236c715bb281c9501fa
|
||||
)
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
gl_cts_patch_files=(
|
||||
build-deqp-gl_Build-Don-t-build-Vulkan-utilities-for-GL-builds.patch
|
||||
build-deqp-gl_Revert-Add-missing-context-deletion.patch
|
||||
build-deqp-gl_Revert-Fix-issues-with-GLX-reset-notification-strate.patch
|
||||
build-deqp-gl_Revert-Fix-spurious-failures-when-using-a-config-wit.patch
|
||||
)
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
# GLES builds also EGL
|
||||
gles_cts_commits_to_backport=(
|
||||
# Add #include <cmath> in deMath.h when being compiled by C++
|
||||
71808fe7d0a640dfd703e845d93ba1c5ab751055
|
||||
# Revert "Add #include <cmath> in deMath.h when being compiled by C++ compiler"
|
||||
# This also adds an alternative fix along with the revert.
|
||||
6164879a0acce258637d261592a9c395e564b361
|
||||
)
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
gles_cts_patch_files=(
|
||||
build-deqp-gl_Build-Don-t-build-Vulkan-utilities-for-GL-builds.patch
|
||||
build-deqp-gl_Revert-Add-missing-context-deletion.patch
|
||||
build-deqp-gl_Revert-Fix-issues-with-GLX-reset-notification-strate.patch
|
||||
build-deqp-gl_Revert-Fix-spurious-failures-when-using-a-config-wit.patch
|
||||
)
|
||||
|
||||
if [ "${DEQP_TARGET}" = 'android' ]; then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From bcb1110cc00398dfb501aac83eddbd66d8fae425 Mon Sep 17 00:00:00 2001
|
||||
From ccdc2b9341c703507cba6017d2a494595335ffdc Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Stone <daniels@collabora.com>
|
||||
Date: Wed, 29 Jan 2025 12:50:33 +0000
|
||||
Subject: [PATCH] Build: Don't build Vulkan utilities for GL builds
|
||||
@@ -55,7 +55,7 @@ index ec1deb5c2..49fe412a7 100644
|
||||
|
||||
# Always link to glutil as some platforms such as Win32 always support GL
|
||||
diff --git a/framework/platform/android/tcuAndroidPlatform.cpp b/framework/platform/android/tcuAndroidPlatform.cpp
|
||||
index 0472fa615..40f523ee2 100644
|
||||
index af56dabb8..6b0de6dba 100644
|
||||
--- a/framework/platform/android/tcuAndroidPlatform.cpp
|
||||
+++ b/framework/platform/android/tcuAndroidPlatform.cpp
|
||||
@@ -31,7 +31,6 @@
|
||||
@@ -76,7 +76,7 @@ index 0472fa615..40f523ee2 100644
|
||||
-{
|
||||
-public:
|
||||
- VulkanLibrary(const char *libraryPath)
|
||||
- : m_library(libraryPath != DE_NULL ? libraryPath : "libvulkan.so")
|
||||
- : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so")
|
||||
- , m_driver(m_library)
|
||||
- {
|
||||
- }
|
||||
@@ -169,7 +169,7 @@ index 0472fa615..40f523ee2 100644
|
||||
static size_t getTotalSystemMemory(ANativeActivity *activity)
|
||||
{
|
||||
const size_t MiB = (size_t)(1 << 20);
|
||||
@@ -338,8 +241,7 @@ static size_t getTotalSystemMemory(ANativeActivity *activity)
|
||||
@@ -341,8 +244,7 @@ static size_t getTotalSystemMemory(ANativeActivity *activity)
|
||||
// Platform
|
||||
|
||||
Platform::Platform(NativeActivity &activity)
|
||||
@@ -179,7 +179,7 @@ index 0472fa615..40f523ee2 100644
|
||||
{
|
||||
m_nativeDisplayFactoryRegistry.registerFactory(new NativeDisplayFactory(m_windowRegistry));
|
||||
m_contextFactoryRegistry.registerFactory(new eglu::GLContextFactory(m_nativeDisplayFactoryRegistry));
|
||||
@@ -355,16 +257,6 @@ bool Platform::processEvents(void)
|
||||
@@ -358,16 +260,6 @@ bool Platform::processEvents(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ index 0472fa615..40f523ee2 100644
|
||||
void Platform::getMemoryLimits(tcu::PlatformMemoryLimits &limits) const
|
||||
{
|
||||
// Worst-case estimates
|
||||
@@ -398,21 +290,5 @@ void Platform::getMemoryLimits(tcu::PlatformMemoryLimits &limits) const
|
||||
@@ -401,22 +293,6 @@ void Platform::getMemoryLimits(tcu::PlatformMemoryLimits &limits) const
|
||||
limits.devicePageTableHierarchyLevels = 3;
|
||||
}
|
||||
|
||||
@@ -218,6 +218,7 @@ index 0472fa615..40f523ee2 100644
|
||||
-
|
||||
} // namespace Android
|
||||
} // namespace tcu
|
||||
|
||||
diff --git a/framework/platform/android/tcuAndroidPlatform.hpp b/framework/platform/android/tcuAndroidPlatform.hpp
|
||||
index 32cc9068c..3c3f02d98 100644
|
||||
--- a/framework/platform/android/tcuAndroidPlatform.hpp
|
||||
@@ -308,7 +309,7 @@ index 8c0a3ef06..6b1a4985a 100644
|
||||
#if defined(DEQP_SUPPORT_GLX)
|
||||
m_glPlatform.registerFactory(x11::glx::createContextFactory(m_eventState));
|
||||
diff --git a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
|
||||
index 1cea9dd97..3d5bd8b62 100644
|
||||
index 585bfbbae..9f386b3ca 100644
|
||||
--- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
|
||||
+++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
|
||||
@@ -43,7 +43,6 @@
|
||||
@@ -319,7 +320,7 @@ index 1cea9dd97..3d5bd8b62 100644
|
||||
|
||||
#include <EGL/egl.h>
|
||||
|
||||
@@ -93,52 +92,6 @@ namespace tcu
|
||||
@@ -99,52 +98,6 @@ namespace tcu
|
||||
namespace surfaceless
|
||||
{
|
||||
|
||||
@@ -327,7 +328,7 @@ index 1cea9dd97..3d5bd8b62 100644
|
||||
-{
|
||||
-public:
|
||||
- VulkanLibrary(const char *libraryPath)
|
||||
- : m_library(libraryPath != DE_NULL ? libraryPath : DEQP_VULKAN_LIBRARY_PATH)
|
||||
- : m_library(libraryPath != nullptr ? libraryPath : DEQP_VULKAN_LIBRARY_PATH)
|
||||
- , m_driver(m_library)
|
||||
- {
|
||||
- }
|
||||
@@ -372,7 +373,7 @@ index 1cea9dd97..3d5bd8b62 100644
|
||||
bool isEGLExtensionSupported(const eglw::Library &egl, eglw::EGLDisplay, const std::string &extName)
|
||||
{
|
||||
const vector<string> exts = eglu::getClientExtensions(egl);
|
||||
@@ -185,13 +138,6 @@ public:
|
||||
@@ -191,13 +144,6 @@ public:
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
@@ -387,5 +388,5 @@ index 1cea9dd97..3d5bd8b62 100644
|
||||
|
||||
class ContextFactory : public glu::ContextFactory
|
||||
--
|
||||
2.47.2
|
||||
2.45.2
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
From 067676253ad11846f420087d30021629f3c43382 Mon Sep 17 00:00:00 2001
|
||||
From: Valentine Burley <valentine.burley@collabora.com>
|
||||
Date: Fri, 11 Apr 2025 16:51:08 +0200
|
||||
Subject: Revert "Add missing context deletion"
|
||||
|
||||
This reverts commit 195ee2c99d3174e738506cc86828766805c0ede9.
|
||||
---
|
||||
.../modules/gles31/es31cComputeShaderTests.cpp | 11 -----------
|
||||
1 file changed, 11 deletions(-)
|
||||
|
||||
diff --git a/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp b/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
|
||||
index 4c7349e59..ece33929d 100644
|
||||
--- a/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
|
||||
+++ b/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
|
||||
@@ -721,11 +721,6 @@ class LongRunningComputeFenceTest : public ComputeShaderBase
|
||||
glDeleteProgram(m_program2);
|
||||
glDeleteBuffers(2, &m_buffer);
|
||||
|
||||
- // Delete shared context and keep default context set
|
||||
- delete m_sharedContext;
|
||||
- m_sharedContext = NULL;
|
||||
- m_context.getRenderContext().makeCurrent();
|
||||
-
|
||||
return NO_ERROR;
|
||||
}
|
||||
};
|
||||
@@ -910,12 +905,6 @@ class LongRunningPersistentSSBOComputeTest : public ComputeShaderBase
|
||||
{
|
||||
glDeleteBuffers(2, &m_buffer);
|
||||
m_dataLoadStore = NULL;
|
||||
-
|
||||
- // Delete shared context and keep default context set
|
||||
- delete m_sharedContext;
|
||||
- m_sharedContext = NULL;
|
||||
- m_context.getRenderContext().makeCurrent();
|
||||
-
|
||||
return NO_ERROR;
|
||||
}
|
||||
};
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
From 6cd7a951f6a50d0f74c798035ac7ce201f2aa6f0 Mon Sep 17 00:00:00 2001
|
||||
From: Valentine Burley <valentine.burley@collabora.com>
|
||||
Date: Fri, 11 Apr 2025 16:51:03 +0200
|
||||
Subject: Revert "Fix issues with GLX reset notification strategy"
|
||||
|
||||
This reverts commit 3e6b3fb43eb9682641d8c880429255569a4472c0.
|
||||
---
|
||||
.../platform/lnx/X11/tcuLnxX11GlxPlatform.cpp | 23 ++++---------------
|
||||
1 file changed, 4 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp b/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp
|
||||
index b21e6bcbd..e1d33823c 100644
|
||||
--- a/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp
|
||||
+++ b/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp
|
||||
@@ -147,7 +147,6 @@ private:
|
||||
GlxDisplay &m_display;
|
||||
::Visual *m_visual;
|
||||
const GLXFBConfig m_fbConfig;
|
||||
- glu::ResetNotificationStrategy resetStrategy;
|
||||
};
|
||||
|
||||
class GlxDrawable
|
||||
@@ -220,7 +219,6 @@ public:
|
||||
virtual const tcu::RenderTarget &getRenderTarget(void) const;
|
||||
virtual glw::GenericFuncType getProcAddress(const char *name) const;
|
||||
const GLXContext &getGLXContext(void) const;
|
||||
- const GlxVisual &getGLXVisual(void) const;
|
||||
|
||||
private:
|
||||
GlxDisplay m_glxDisplay;
|
||||
@@ -412,31 +410,23 @@ GLXContext GlxVisual::createContext(const GlxContextFactory &factory, const Cont
|
||||
}
|
||||
}
|
||||
|
||||
- const GlxRenderContext *sharedGlxRenderContext = dynamic_cast<const GlxRenderContext *>(sharedContext);
|
||||
-
|
||||
- /* If there is a shared context, use same reset notification strategy. */
|
||||
- glu::ResetNotificationStrategy usedResetNotificationStrategy =
|
||||
- sharedGlxRenderContext ? sharedGlxRenderContext->getGLXVisual().resetStrategy : resetNotificationStrategy;
|
||||
-
|
||||
- if (usedResetNotificationStrategy != glu::RESET_NOTIFICATION_STRATEGY_NOT_SPECIFIED)
|
||||
+ if (resetNotificationStrategy != glu::RESET_NOTIFICATION_STRATEGY_NOT_SPECIFIED)
|
||||
{
|
||||
checkGlxExtension(m_display, "GLX_ARB_create_context_robustness");
|
||||
attribs.push_back(GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB);
|
||||
|
||||
- if (usedResetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_NO_RESET_NOTIFICATION)
|
||||
+ if (resetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_NO_RESET_NOTIFICATION)
|
||||
attribs.push_back(GLX_NO_RESET_NOTIFICATION_ARB);
|
||||
- else if (usedResetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_LOSE_CONTEXT_ON_RESET)
|
||||
+ else if (resetNotificationStrategy == glu::RESET_NOTIFICATION_STRATEGY_LOSE_CONTEXT_ON_RESET)
|
||||
attribs.push_back(GLX_LOSE_CONTEXT_ON_RESET_ARB);
|
||||
else
|
||||
TCU_THROW(InternalError, "Unknown reset notification strategy");
|
||||
}
|
||||
|
||||
- // Reset notification strategy used with this visual.
|
||||
- resetStrategy = resetNotificationStrategy;
|
||||
-
|
||||
// Terminate attrib list
|
||||
attribs.push_back(None);
|
||||
|
||||
+ const GlxRenderContext *sharedGlxRenderContext = dynamic_cast<const GlxRenderContext *>(sharedContext);
|
||||
const GLXContext &sharedGLXContext = sharedGlxRenderContext ? sharedGlxRenderContext->getGLXContext() : nullptr;
|
||||
|
||||
return TCU_CHECK_GLX(
|
||||
@@ -815,11 +805,6 @@ const GLXContext &GlxRenderContext::getGLXContext(void) const
|
||||
return m_GLXContext;
|
||||
}
|
||||
|
||||
-const GlxVisual &GlxRenderContext::getGLXVisual(void) const
|
||||
-{
|
||||
- return m_glxVisual;
|
||||
-}
|
||||
-
|
||||
MovePtr<ContextFactory> createContextFactory(EventState &eventState)
|
||||
{
|
||||
return MovePtr<ContextFactory>(new GlxContextFactory(eventState));
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
From b512e6d5a0c79b194293936bd06656646913704e Mon Sep 17 00:00:00 2001
|
||||
From: Valentine Burley <valentine.burley@collabora.com>
|
||||
Date: Fri, 11 Apr 2025 16:50:57 +0200
|
||||
Subject: Revert "Fix spurious failures when using a config without
|
||||
pbuffer support"
|
||||
|
||||
This reverts commit 415a0ba8ecde404ef37ce96ece55b46854b44888.
|
||||
---
|
||||
external/openglcts/modules/common/glcTestSubcase.cpp | 10 ----------
|
||||
framework/egl/egluGLContextFactory.cpp | 2 --
|
||||
2 files changed, 12 deletions(-)
|
||||
|
||||
diff --git a/external/openglcts/modules/common/glcTestSubcase.cpp b/external/openglcts/modules/common/glcTestSubcase.cpp
|
||||
index 93e58c18a..cd43cc068 100644
|
||||
--- a/external/openglcts/modules/common/glcTestSubcase.cpp
|
||||
+++ b/external/openglcts/modules/common/glcTestSubcase.cpp
|
||||
@@ -233,11 +233,6 @@ TestSubcase::IterateResult TestSubcase::iterate(void)
|
||||
if (subError == ERROR)
|
||||
log.writeMessage("Test Setup() failed");
|
||||
}
|
||||
- catch (const tcu::NotSupportedError &ex)
|
||||
- {
|
||||
- log.writeMessage(ex.what());
|
||||
- subError = NOT_SUPPORTED;
|
||||
- }
|
||||
catch (const runtime_error &ex)
|
||||
{
|
||||
log.writeMessage(ex.what());
|
||||
@@ -258,11 +253,6 @@ TestSubcase::IterateResult TestSubcase::iterate(void)
|
||||
if (subError == ERROR)
|
||||
log.writeMessage("Test Run() failed");
|
||||
}
|
||||
- catch (const tcu::NotSupportedError &ex)
|
||||
- {
|
||||
- log.writeMessage(ex.what());
|
||||
- subError = NOT_SUPPORTED;
|
||||
- }
|
||||
catch (const runtime_error &ex)
|
||||
{
|
||||
log.writeMessage(ex.what());
|
||||
diff --git a/framework/egl/egluGLContextFactory.cpp b/framework/egl/egluGLContextFactory.cpp
|
||||
index 66783ad8b..f347b40ad 100644
|
||||
--- a/framework/egl/egluGLContextFactory.cpp
|
||||
+++ b/framework/egl/egluGLContextFactory.cpp
|
||||
@@ -539,8 +539,6 @@ void RenderContext::postIterate(void)
|
||||
|
||||
if (m_window)
|
||||
{
|
||||
- EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext));
|
||||
-
|
||||
EGLBoolean swapOk = egl.swapBuffers(m_eglDisplay, m_eglSurface);
|
||||
EGLint error = egl.getError();
|
||||
const bool badWindow = error == EGL_BAD_SURFACE || error == EGL_BAD_NATIVE_WINDOW;
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -23,8 +23,8 @@ variables:
|
||||
|
||||
DEBIAN_BUILD_TAG: "20250515-aarch64"
|
||||
|
||||
DEBIAN_TEST_ANDROID_TAG: "20250603-curl-O-2"
|
||||
DEBIAN_TEST_GL_TAG: "20250603-vkcts-main"
|
||||
DEBIAN_TEST_ANDROID_TAG: "20250605-glcts"
|
||||
DEBIAN_TEST_GL_TAG: "20250605-glcts"
|
||||
DEBIAN_TEST_VIDEO_TAG: "20250609-helper"
|
||||
DEBIAN_TEST_VK_TAG: "20250609-vkd3d"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user