Commit 22716d31 by Gert Wollny Committed by Angle LUCI CQ

Capture: Add specialization for ParamType::TGLubyte

Also enable "CurrentColorTest.Set/*" tests. Bug: angleproject:6049 Change-Id: I65e62b6c0805687ad6744a12217e0c08bc97ca1a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2954262 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
parent 90f9ddd9
...@@ -5600,4 +5600,13 @@ void WriteParamValueReplay<ParamType::TGLeglImageOES>(std::ostream &os, ...@@ -5600,4 +5600,13 @@ void WriteParamValueReplay<ParamType::TGLeglImageOES>(std::ostream &os,
os << "reinterpret_cast<EGLImageKHR>(" << value << ")"; os << "reinterpret_cast<EGLImageKHR>(" << value << ")";
} }
template <>
void WriteParamValueReplay<ParamType::TGLubyte>(std::ostream &os,
const CallCapture &call,
GLubyte value)
{
const int v = value;
os << v;
}
} // namespace angle } // namespace angle
...@@ -674,6 +674,11 @@ void WriteParamValueReplay<ParamType::TGLeglImageOES>(std::ostream &os, ...@@ -674,6 +674,11 @@ void WriteParamValueReplay<ParamType::TGLeglImageOES>(std::ostream &os,
const CallCapture &call, const CallCapture &call,
GLeglImageOES value); GLeglImageOES value);
template <>
void WriteParamValueReplay<ParamType::TGLubyte>(std::ostream &os,
const CallCapture &call,
GLubyte value);
// General fallback for any unspecific type. // General fallback for any unspecific type.
template <ParamType ParamT, typename T> template <ParamType ParamT, typename T>
void WriteParamValueReplay(std::ostream &os, const CallCapture &call, T value) void WriteParamValueReplay(std::ostream &os, const CallCapture &call, T value)
......
...@@ -101,7 +101,6 @@ FramebufferObjectTest.TextureObjectDifferentFormats/* ...@@ -101,7 +101,6 @@ FramebufferObjectTest.TextureObjectDifferentFormats/*
BootAnimationTest.DefaultBootAnimation/* BootAnimationTest.DefaultBootAnimation/*
# ES1 compile failed tests # ES1 compile failed tests
CurrentColorTest.Set/*
FogTest.NegativeParameter/* FogTest.NegativeParameter/*
FogTest.NegativeValues/* FogTest.NegativeValues/*
FogTest.Set/* FogTest.Set/*
......
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