diff --git a/pxr/imaging/hdx/colorCorrectionTask.cpp b/pxr/imaging/hdx/colorCorrectionTask.cpp index b4bb87fded..282d4b81de 100644 --- a/pxr/imaging/hdx/colorCorrectionTask.cpp +++ b/pxr/imaging/hdx/colorCorrectionTask.cpp @@ -444,6 +444,7 @@ HdxColorCorrectionTask::_CreateOpenColorIOResourcesImpl( // Sampler description HgiSamplerDesc sampDesc; + sampDesc.debugName = samplerName; sampDesc.magFilter = interpolation == OCIO::Interpolation::INTERP_NEAREST ? HgiSamplerFilterNearest : HgiSamplerFilterLinear; @@ -453,9 +454,14 @@ HdxColorCorrectionTask::_CreateOpenColorIOResourcesImpl( sampDesc.addressModeU = HgiSamplerAddressModeClampToEdge; sampDesc.addressModeV = HgiSamplerAddressModeClampToEdge; + std::vector lutVector = std::vector( + lutValues, + lutValues + (valueCount * sizeof(float)) + ); + result->luts.emplace_back( _TextureSamplerDesc{ - texDesc, sampDesc, float4AdaptedLutValues}); + texDesc, sampDesc, lutVector}); } //