summaryrefslogtreecommitdiff
path: root/thirdparty/glslang/patches/unused_cleanup.diff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 13:47:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-03 12:20:46 +0100
commit0181d005c98dcf62fd63e19b0dec7586ac708154 (patch)
tree20f458ec639855e5894a195dbab26247392dd712 /thirdparty/glslang/patches/unused_cleanup.diff
parent879aac9db44c90000197ef02ae048c71f7500a2b (diff)
vulkan: Update all components to Vulkan SDK 1.3.231.1
Updates to volk, vulkan headers, `vk_enum_string_helper.h`, glslang, spirv-reflect. No update to VMA which still has 3.0.1 as it's last tagged release.
Diffstat (limited to 'thirdparty/glslang/patches/unused_cleanup.diff')
-rw-r--r--thirdparty/glslang/patches/unused_cleanup.diff61
1 files changed, 0 insertions, 61 deletions
diff --git a/thirdparty/glslang/patches/unused_cleanup.diff b/thirdparty/glslang/patches/unused_cleanup.diff
deleted file mode 100644
index 3e9a9c23f9..0000000000
--- a/thirdparty/glslang/patches/unused_cleanup.diff
+++ /dev/null
@@ -1,61 +0,0 @@
-diff --git a/thirdparty/glslang/glslang/OSDependent/Unix/ossource.cpp b/thirdparty/glslang/glslang/OSDependent/Unix/ossource.cpp
-index 81da99c2c4..1cbd616e98 100644
---- a/thirdparty/glslang/glslang/OSDependent/Unix/ossource.cpp
-+++ b/thirdparty/glslang/glslang/OSDependent/Unix/ossource.cpp
-@@ -65,43 +65,6 @@ static void DetachThreadLinux(void *)
- DetachThread();
- }
-
--//
--// Registers cleanup handler, sets cancel type and state, and executes the thread specific
--// cleanup handler. This function will be called in the Standalone.cpp for regression
--// testing. When OpenGL applications are run with the driver code, Linux OS does the
--// thread cleanup.
--//
--void OS_CleanupThreadData(void)
--{
--#if defined(__ANDROID__) || defined(__Fuchsia__)
-- DetachThreadLinux(NULL);
--#else
-- int old_cancel_state, old_cancel_type;
-- void *cleanupArg = NULL;
--
-- //
-- // Set thread cancel state and push cleanup handler.
-- //
-- pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_cancel_state);
-- pthread_cleanup_push(DetachThreadLinux, (void *) cleanupArg);
--
-- //
-- // Put the thread in deferred cancellation mode.
-- //
-- pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &old_cancel_type);
--
-- //
-- // Pop cleanup handler and execute it prior to unregistering the cleanup handler.
-- //
-- pthread_cleanup_pop(1);
--
-- //
-- // Restore the thread's previous cancellation mode.
-- //
-- pthread_setcanceltype(old_cancel_state, NULL);
--#endif
--}
--
- //
- // Thread Local Storage Operations
- //
-diff --git a/thirdparty/glslang/glslang/OSDependent/osinclude.h b/thirdparty/glslang/glslang/OSDependent/osinclude.h
-index 218abe4f23..fcfeff2cc4 100644
---- a/thirdparty/glslang/glslang/OSDependent/osinclude.h
-+++ b/thirdparty/glslang/glslang/OSDependent/osinclude.h
-@@ -54,8 +54,6 @@ void ReleaseGlobalLock();
-
- typedef unsigned int (*TThreadEntrypoint)(void*);
-
--void OS_CleanupThreadData(void);
--
- void OS_DumpMemoryCounters();
-
- } // end namespace glslang