From be52e531b8805d5e3542ad8cb437b1f37e274858 Mon Sep 17 00:00:00 2001 From: Powei Feng Date: Tue, 17 Dec 2024 15:01:41 -0800 Subject: [PATCH] Fix compilation material failure log --- filament/src/details/Material.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filament/src/details/Material.cpp b/filament/src/details/Material.cpp index 90f65b64013..83256c5a692 100644 --- a/filament/src/details/Material.cpp +++ b/filament/src/details/Material.cpp @@ -575,7 +575,7 @@ Program FMaterial::getProgramWithVariants( << "The material '" << mName.c_str() << "' has not been compiled to include the required GLSL or SPIR-V chunks for the " "vertex shader (variant=" - << variant.key << ", filtered=" << vertexVariant.key << ")."; + << +variant.key << ", filtered=" << +vertexVariant.key << ")."; /* * Fragment shader @@ -590,7 +590,7 @@ Program FMaterial::getProgramWithVariants( << "The material '" << mName.c_str() << "' has not been compiled to include the required GLSL or SPIR-V chunks for the " "fragment shader (variant=" - << variant.key << ", filtered=" << ")."; + << +variant.key << ", filtered=" << +fragmentVariant.key << ")."; Program program; program.shader(ShaderStage::VERTEX, vsBuilder.data(), vsBuilder.size())