1 // SwiftShader Software Renderer
\r
3 // Copyright(c) 2005-2012 TransGaming Inc.
\r
5 // All rights reserved. No part of this software may be copied, distributed, transmitted,
\r
6 // transcribed, stored in a retrieval system, translated into any human or computer
\r
7 // language by any means, or disclosed to third parties without the explicit written
\r
8 // agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express
\r
9 // or implied, including but not limited to any patent rights, are granted to you.
\r
12 #ifndef COMPILER_TRANSLATORASM_H_
\r
13 #define COMPILER_TRANSLATORASM_H_
\r
15 #include "ShHandle.h"
\r
16 #include "OutputASM.h"
\r
17 #include "Shader/PixelShader.hpp"
\r
18 #include "Shader/VertexShader.hpp"
\r
25 class TranslatorASM : public TCompiler
\r
28 TranslatorASM(es2::Shader *shaderObject, ShShaderType type, ShShaderSpec spec);
\r
31 virtual bool translate(TIntermNode* root);
\r
34 es2::Shader *const shaderObject;
\r
37 #endif // COMPILER_TRANSLATORASM_H_
\r