Commit 334f19b7 by Shannon Woods

Adds conversion for USHORT2N decltype

BUG=angle:643 Change-Id: I90a5e5c91351b9dd43a841cc5612f3f3656dc5b1 Reviewed-on: https://chromium-review.googlesource.com/198233Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarShannon Woods <shannonwoods@chromium.org>
parent 80b9528d
......@@ -469,6 +469,7 @@ GLenum GetDeclTypeComponentType(D3DDECLTYPE declType)
case D3DDECLTYPE_SHORT4N: return GL_SIGNED_NORMALIZED;
case D3DDECLTYPE_USHORT4N: return GL_UNSIGNED_NORMALIZED;
case D3DDECLTYPE_SHORT2N: return GL_SIGNED_NORMALIZED;
case D3DDECLTYPE_USHORT2N: return GL_UNSIGNED_NORMALIZED;
default: UNREACHABLE(); return GL_NONE;
}
}
......
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