Commit d83f6792 by Cody Northrop Committed by Commit Bot

Capture/Replay: Fix GL_HALF_FLOAT_OES vertex attrib type name

The string for VertexAttribType::HalfFloatOES was missing. The output would contain GL_INVALID_ENUM instead of GL_HALF_FLOAT_OES. Detected when capturing Free Fire. Test: Free Fire MEC Bug: b/168049517 Bug: angleproject:4048 Change-Id: Ib9efbb8cee1ae9f679ff20f4182f7dd428000d5b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2461349 Commit-Queue: Cody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
parent b620ca9e
......@@ -390,6 +390,9 @@ std::ostream &operator<<(std::ostream &os, VertexAttribType value)
case VertexAttribType::HalfFloat:
os << "GL_HALF_FLOAT";
break;
case VertexAttribType::HalfFloatOES:
os << "GL_HALF_FLOAT_OES";
break;
case VertexAttribType::Int:
os << "GL_INT";
break;
......
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