#include "tests/test_utils/ShaderCompileTreeTest.h"
#include "compiler/translator/glsl/TranslatorESSL.h"
#include "compiler/translator/tree_util/IntermTraverse.h"
namespace sh
{
namespace
{
class OnlyContainsZeroConstantsTraverser final : public TIntermTraverser
{ … };
}
void ShaderCompileTreeTest::SetUp()
{ … }
void ShaderCompileTreeTest::TearDown()
{ … }
bool ShaderCompileTreeTest::compile(const std::string &shaderString)
{ … }
void ShaderCompileTreeTest::compileAssumeSuccess(const std::string &shaderString)
{ … }
bool ShaderCompileTreeTest::hasWarning() const
{ … }
const std::vector<sh::ShaderVariable> &ShaderCompileTreeTest::getUniforms() const
{ … }
const std::vector<sh::ShaderVariable> &ShaderCompileTreeTest::getAttributes() const
{ … }
bool IsZero(TIntermNode *node)
{ … }
}