| // 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 sw_VertexShader_hpp
|
| #define sw_VertexShader_hpp
|
| class VertexShader : public Shader
|
| explicit VertexShader(const VertexShader *vs = 0);
|
| explicit VertexShader(const unsigned long *token);
|
| static int validate(const unsigned long *const token); // Returns number of instructions if valid
|
| bool containsTexldl() const;
|
| int positionRegister; // FIXME: Private
|
| int pointSizeRegister; // FIXME: Private
|
| Semantic input[16]; // FIXME: Private
|
| Semantic output[12][4]; // FIXME: Private
|
| #endif // sw_VertexShader_hpp
|