| // SwiftShader Software Renderer
|
| // Copyright(c) 2005-2011 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.
|
| #include "Common/MetaMacro.hpp"
|
| #include "Common/Types.hpp"
|
| enum Out // Default vertex attribute semantic
|
| struct // Fixed semantics
|
| Color<float> C[2]; // Diffuse and specular color
|
| UVWQ T[8]; // Texture coordinates
|
| float pSize; // Point size
|
| unsigned char padding0[4];
|
| unsigned char padding1[3];
|
| float4 v[12]; // Generic components using semantic declaration
|
| struct // Projected coordinates
|
| META_ASSERT((sizeof(Vertex) & 0x0000000F) == 0);
|