-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[glslang] update to 13.1.1, opt feature [shaderc] update to 2023.7 (#…
- Loading branch information
Showing
13 changed files
with
101 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt | ||
index a80e74ed..8a1d8867 100644 | ||
--- a/SPIRV/CMakeLists.txt | ||
+++ b/SPIRV/CMakeLists.txt | ||
@@ -99,14 +99,9 @@ if(WIN32 AND BUILD_SHARED_LIBS) | ||
endif() | ||
|
||
if(ENABLE_OPT) | ||
- target_include_directories(SPIRV | ||
- PRIVATE ${spirv-tools_SOURCE_DIR}/include | ||
- PRIVATE ${spirv-tools_SOURCE_DIR}/source | ||
- ) | ||
- target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt) | ||
+ target_link_libraries(SPIRV PRIVATE MachineIndependent PUBLIC SPIRV-Tools-opt) | ||
target_include_directories(SPIRV PUBLIC | ||
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External> | ||
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>) | ||
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>) | ||
else() | ||
target_link_libraries(SPIRV PRIVATE MachineIndependent) | ||
endif() | ||
diff --git a/StandAlone/CMakeLists.txt b/StandAlone/CMakeLists.txt | ||
index ad88442c..5ca185ae 100644 | ||
--- a/StandAlone/CMakeLists.txt | ||
+++ b/StandAlone/CMakeLists.txt | ||
@@ -68,14 +68,7 @@ endif() | ||
|
||
target_link_libraries(glslang-standalone ${LIBRARIES}) | ||
target_include_directories(glslang-standalone PUBLIC | ||
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External> | ||
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>) | ||
- | ||
-if(ENABLE_OPT) | ||
- target_include_directories(glslang-standalone | ||
- PRIVATE ${spirv-tools_SOURCE_DIR}/include | ||
- ) | ||
-endif() | ||
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>) | ||
|
||
if(ENABLE_SPVREMAPPER) | ||
set(REMAPPER_SOURCES spirv-remap.cpp) | ||
diff --git a/gtests/CMakeLists.txt b/gtests/CMakeLists.txt | ||
index 408a92db..b73e7f15 100644 | ||
--- a/gtests/CMakeLists.txt | ||
+++ b/gtests/CMakeLists.txt | ||
@@ -97,8 +97,8 @@ if(BUILD_TESTING) | ||
${gtest_SOURCE_DIR}/include) | ||
|
||
if(ENABLE_OPT) | ||
- target_include_directories(glslangtests | ||
- PRIVATE ${spirv-tools_SOURCE_DIR}/include | ||
+ target_link_libraries(glslangtests | ||
+ PRIVATE SPIRV-Tools-opt | ||
) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"shaderc v2021.1-dev unknown hash, 2021-06-21\n" | ||
"shaderc v2023.7 v2023.7\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
ports/shaderc/fix-tbuiltinresource-for-glslang-11-12.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters