Whitespace fixes (trailing whitespace, CRLF).

TRAC #11414 Author: Andrew Lewycky Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@23 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 79b820b7
...@@ -559,7 +559,7 @@ bool Program::defineUniform(const D3DXCONSTANT_DESC &constantDescription, std::s ...@@ -559,7 +559,7 @@ bool Program::defineUniform(const D3DXCONSTANT_DESC &constantDescription, std::s
// Check if already defined // Check if already defined
GLint location = getUniformLocation(name.c_str()); GLint location = getUniformLocation(name.c_str());
UniformType type = uniform->type; UniformType type = uniform->type;
if (location >= 0) if (location >= 0)
{ {
delete uniform; delete uniform;
......
...@@ -241,7 +241,7 @@ const char *VertexShader::linkHLSL(const char *pixelHLSL) ...@@ -241,7 +241,7 @@ const char *VertexShader::linkHLSL(const char *pixelHLSL)
{ {
ASSERT(semanticIndex < MAX_VARYING_VECTORS); ASSERT(semanticIndex < MAX_VARYING_VECTORS);
char *varying = strstr(output, varyingName); char *varying = strstr(output, varyingName);
if (varying) if (varying)
{ {
ASSERT(semanticIndex <= 9); // Single character ASSERT(semanticIndex <= 9); // Single character
......
...@@ -77,16 +77,16 @@ TranslatedIndexBuffer *Dx9BackEnd::createIndexBuffer(std::size_t size) ...@@ -77,16 +77,16 @@ TranslatedIndexBuffer *Dx9BackEnd::createIndexBuffer(std::size_t size)
} }
// Mapping from OpenGL-ES vertex attrib type to D3D decl type: // Mapping from OpenGL-ES vertex attrib type to D3D decl type:
// //
// BYTE Translate to SHORT, expand to x2,x4 as needed. // BYTE Translate to SHORT, expand to x2,x4 as needed.
// BYTE-norm Translate to FLOAT since it can't be exactly represented as SHORT-norm. // BYTE-norm Translate to FLOAT since it can't be exactly represented as SHORT-norm.
// UNSIGNED_BYTE x4 only. x1,x2,x3=>x4 // UNSIGNED_BYTE x4 only. x1,x2,x3=>x4
// UNSIGNED_BYTE-norm x4 only, x1,x2,x3=>x4 // UNSIGNED_BYTE-norm x4 only, x1,x2,x3=>x4
// SHORT x2,x4 supported. x1=>x2, x3=>x4 // SHORT x2,x4 supported. x1=>x2, x3=>x4
// SHORT-norm x2,x4 supported. x1=>x2, x3=>x4 // SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
// UNSIGNED_SHORT unsupported, translate to float // UNSIGNED_SHORT unsupported, translate to float
// UNSIGNED_SHORT-norm x2,x4 supported. x1=>x2, x3=>x4 // UNSIGNED_SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
// FIXED (not in WebGL) Translate to float. // FIXED (not in WebGL) Translate to float.
// FLOAT Fully supported. // FLOAT Fully supported.
FormatConverter Dx9BackEnd::getFormatConverter(GLenum type, std::size_t size, bool normalize) FormatConverter Dx9BackEnd::getFormatConverter(GLenum type, std::size_t size, bool normalize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment