Skip to content

Commit

Permalink
Match ACES 2.0 shader resource suffix format to regular luts. (#2077)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Renaud-Houde <eric.renaud.houde@gmail.com>
  • Loading branch information
num3ric authored Oct 11, 2024
1 parent 6998d6d commit 59d6a86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ std::string _Add_Reach_table(
std::ostringstream resName;
resName << shaderCreator->getResourcePrefix()
<< std::string("_")
<< std::string("reach_m_table")
<< std::string("reach_m_table_")
<< resourceIndex;

// Note: Remove potentially problematic double underscores from GLSL resource names.
Expand Down Expand Up @@ -684,7 +684,7 @@ std::string _Add_Cusp_table(
std::ostringstream resName;
resName << shaderCreator->getResourcePrefix()
<< std::string("_")
<< std::string("gamut_cusp_table")
<< std::string("gamut_cusp_table_")
<< resourceIndex;

// Note: Remove potentially problematic double underscores from GLSL resource names.
Expand Down Expand Up @@ -803,7 +803,7 @@ std::string _Add_Gamma_table(
std::ostringstream resName;
resName << shaderCreator->getResourcePrefix()
<< std::string("_")
<< std::string("upper_hull_gamma_table")
<< std::string("upper_hull_gamma_table_")
<< resourceIndex;

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

0 comments on commit 59d6a86

Please sign in to comment.