From 2b1cfe77cf21c2dbe7daca4b63d30a014010e374 Mon Sep 17 00:00:00 2001 From: Roderick Kennedy Date: Wed, 7 Aug 2024 13:25:45 +0100 Subject: [PATCH] Show compiler paths in Sfx on failure. --- Applications/Sfx/Compiler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Applications/Sfx/Compiler.cpp b/Applications/Sfx/Compiler.cpp index 1a280aeb..2a1cfb4b 100644 --- a/Applications/Sfx/Compiler.cpp +++ b/Applications/Sfx/Compiler.cpp @@ -1012,7 +1012,9 @@ int Compile(std::shared_ptr shaderInstance } else { - std::cerr << sourceFile.c_str() << "(0): error: failed to build shader " << shaderInstance->m_functionName.c_str()<<"\nLOG follows:\n" << log.str().c_str() << std::endl; + std::cerr << sourceFile.c_str() << "(0): error: failed to build shader " << shaderInstance->m_functionName.c_str()<<" with "<m_functionName.c_str()<