Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tohur
pcsx2-git
pcsx2-find_appropriate_shaderc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pcsx2-find_appropriate_shaderc.patch of Package pcsx2-git
diff --git a/cmake/FindShaderc.cmake b/cmake/FindShaderc.cmake index 760184aa0..a97c8d64e 100644 --- a/cmake/FindShaderc.cmake +++ b/cmake/FindShaderc.cmake @@ -5,13 +5,13 @@ # SHADERC_LIBRARIES - The libraries needed to use SHADERC find_path( - SHADERC_INCLUDE_DIR shaderc/shaderc.h + SHADERC_INCLUDE_DIR shaderc-moronic/shaderc.h ${SHADERC_PATH_INCLUDES} ) find_library( SHADERC_LIBRARY - NAMES shaderc_shared.1 shaderc_shared + NAMES shaderc_moronic.1 shaderc_moronic PATHS ${ADDITIONAL_LIBRARY_PATHS} ${SHADERC_PATH_LIB} ) @@ -20,8 +20,8 @@ find_package_handle_standard_args(Shaderc DEFAULT_MSG SHADERC_LIBRARY SHADERC_INCLUDE_DIR) if(SHADERC_FOUND) - add_library(Shaderc::shaderc_shared UNKNOWN IMPORTED) - set_target_properties(Shaderc::shaderc_shared PROPERTIES + add_library(Shaderc::shaderc_moronic UNKNOWN IMPORTED) + set_target_properties(Shaderc::shaderc_moronic PROPERTIES IMPORTED_LOCATION ${SHADERC_LIBRARY} INTERFACE_INCLUDE_DIRECTORIES ${SHADERC_INCLUDE_DIR} INTERFACE_COMPILE_DEFINITIONS "SHADERC_SHAREDLIB" diff --git a/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp b/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp index d4df38661..bddd05fa0 100644 --- a/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp +++ b/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp @@ -18,7 +18,7 @@ #include "common/Path.h" #include "fmt/format.h" -#include "shaderc/shaderc.h" +#include "shaderc-moronic/shaderc.h" #include <cstring> #include <memory>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor