From 59d6a864f0742f58a72c8b8453f72de837bf79e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Renaud-Houde?= Date: Fri, 11 Oct 2024 14:23:04 -0400 Subject: [PATCH] Match ACES 2.0 shader resource suffix format to regular luts. (#2077) Signed-off-by: Eric Renaud-Houde --- src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp b/src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp index 30c831544..1b4ba870d 100644 --- a/src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp +++ b/src/OpenColorIO/ops/fixedfunction/FixedFunctionOpGPU.cpp @@ -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. @@ -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. @@ -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.