зеркало из https://github.com/AvaloniaUI/angle.git
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
This commit is contained in:
Родитель
79b820b73a
Коммит
c7d8a9351c
|
@ -559,7 +559,7 @@ bool Program::defineUniform(const D3DXCONSTANT_DESC &constantDescription, std::s
|
|||
// Check if already defined
|
||||
GLint location = getUniformLocation(name.c_str());
|
||||
UniformType type = uniform->type;
|
||||
|
||||
|
||||
if (location >= 0)
|
||||
{
|
||||
delete uniform;
|
||||
|
|
|
@ -241,7 +241,7 @@ const char *VertexShader::linkHLSL(const char *pixelHLSL)
|
|||
{
|
||||
ASSERT(semanticIndex < MAX_VARYING_VECTORS);
|
||||
char *varying = strstr(output, varyingName);
|
||||
|
||||
|
||||
if (varying)
|
||||
{
|
||||
ASSERT(semanticIndex <= 9); // Single character
|
||||
|
|
|
@ -77,16 +77,16 @@ TranslatedIndexBuffer *Dx9BackEnd::createIndexBuffer(std::size_t size)
|
|||
}
|
||||
|
||||
// Mapping from OpenGL-ES vertex attrib type to D3D decl type:
|
||||
//
|
||||
// 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.
|
||||
// UNSIGNED_BYTE x4 only. x1,x2,x3=>x4
|
||||
// UNSIGNED_BYTE-norm x4 only, x1,x2,x3=>x4
|
||||
// SHORT x2,x4 supported. x1=>x2, x3=>x4
|
||||
// SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
|
||||
// UNSIGNED_SHORT unsupported, translate to float
|
||||
// UNSIGNED_SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
|
||||
// FIXED (not in WebGL) Translate to float.
|
||||
//
|
||||
// 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.
|
||||
// UNSIGNED_BYTE x4 only. x1,x2,x3=>x4
|
||||
// UNSIGNED_BYTE-norm x4 only, x1,x2,x3=>x4
|
||||
// SHORT x2,x4 supported. x1=>x2, x3=>x4
|
||||
// SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
|
||||
// UNSIGNED_SHORT unsupported, translate to float
|
||||
// UNSIGNED_SHORT-norm x2,x4 supported. x1=>x2, x3=>x4
|
||||
// FIXED (not in WebGL) Translate to float.
|
||||
// FLOAT Fully supported.
|
||||
|
||||
FormatConverter Dx9BackEnd::getFormatConverter(GLenum type, std::size_t size, bool normalize)
|
||||
|
|
Загрузка…
Ссылка в новой задаче