Skip to content

Commit 27f8ab7

Browse files
authored
Merge branch 'main' into cube-parser-opt
2 parents 53fbca9 + 707734d commit 27f8ab7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

share/cmake/utils/CompilerFlags.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ if(USE_MSVC)
7777
set(PLATFORM_COMPILE_OPTIONS "${PLATFORM_COMPILE_OPTIONS};/WX")
7878
endif()
7979

80+
# Enable parallel compilation of source files
81+
set(PLATFORM_COMPILE_OPTIONS "${PLATFORM_COMPILE_OPTIONS};/MP")
82+
8083
elseif(USE_CLANG)
8184

8285
set(PLATFORM_COMPILE_OPTIONS "${PLATFORM_COMPILE_OPTIONS};-DUSE_CLANG")

src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ std::string _Add_Reach_table(
411411
std::ostringstream resName;
412412
resName << shaderCreator->getResourcePrefix()
413413
<< std::string("_")
414-
<< std::string("reach_m_table")
414+
<< std::string("reach_m_table_")
415415
<< resourceIndex;
416416

417417
// Note: Remove potentially problematic double underscores from GLSL resource names.
@@ -684,7 +684,7 @@ std::string _Add_Cusp_table(
684684
std::ostringstream resName;
685685
resName << shaderCreator->getResourcePrefix()
686686
<< std::string("_")
687-
<< std::string("gamut_cusp_table")
687+
<< std::string("gamut_cusp_table_")
688688
<< resourceIndex;
689689

690690
// Note: Remove potentially problematic double underscores from GLSL resource names.
@@ -803,7 +803,7 @@ std::string _Add_Gamma_table(
803803
std::ostringstream resName;
804804
resName << shaderCreator->getResourcePrefix()
805805
<< std::string("_")
806-
<< std::string("upper_hull_gamma_table")
806+
<< std::string("upper_hull_gamma_table_")
807807
<< resourceIndex;
808808

809809
// Note: Remove potentially problematic double underscores from GLSL resource names.

0 commit comments

Comments
 (0)