From b382188a5cdf0df2e987e9486c58a005d30eb563 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 21 Nov 2017 00:22:36 -1000 Subject: [PATCH] Remove debugging changes --- hecl/lib/Backend/GLSL.cpp | 2 -- hecl/lib/Runtime/ShaderCacheManager.cpp | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/hecl/lib/Backend/GLSL.cpp b/hecl/lib/Backend/GLSL.cpp index 8ae6188f6..e41406552 100644 --- a/hecl/lib/Backend/GLSL.cpp +++ b/hecl/lib/Backend/GLSL.cpp @@ -578,8 +578,6 @@ struct GLSLBackendFactory : IShaderBackendFactory std::string vertSource = r.readString(); std::string fragSource = r.readString(); - printf("%s\n%s\n", vertSource.c_str(), fragSource.c_str()); - if (r.hasError()) return false; diff --git a/hecl/lib/Runtime/ShaderCacheManager.cpp b/hecl/lib/Runtime/ShaderCacheManager.cpp index 4e9a23ed1..d2ec5a2e6 100644 --- a/hecl/lib/Runtime/ShaderCacheManager.cpp +++ b/hecl/lib/Runtime/ShaderCacheManager.cpp @@ -544,12 +544,9 @@ ShaderCacheManager::buildExtendedShader(const ShaderTag& tag, const hecl::Fronte if (search != m_pipelineLookup.cend()) return search->second; - if (tag.valSizeT() == 3543211830293577851) - printf(""); - std::shared_ptr ret = std::make_shared(); ShaderCachedData foundData = lookupData(tag); - if (false && foundData) + if (foundData) { factory.commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {