blob: 41f911e09b4ea5d69ee017c150cb6fb1b2455e54 [file] [log] [blame]
// SwiftShader Software Renderer
//
// Copyright(c) 2005-2012 TransGaming Inc.
//
// All rights reserved. No part of this software may be copied, distributed, transmitted,
// transcribed, stored in a retrieval system, translated into any human or computer
// language by any means, or disclosed to third parties without the explicit written
// agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express
// or implied, including but not limited to any patent rights, are granted to you.
//
#ifndef COMPILER_TRANSLATORASM_H_
#define COMPILER_TRANSLATORASM_H_
#include "Compiler.h"
#include "OutputASM.h"
namespace glsl
{
class Shader;
}
class TranslatorASM : public TCompiler
{
public:
TranslatorASM(glsl::Shader *shaderObject, GLenum type);
protected:
virtual bool translate(TIntermNode* root);
private:
glsl::Shader *const shaderObject;
};
#endif // COMPILER_TRANSLATORASM_H_