Change-Id: I34eb45ef6c69536353449c980745a00afc65de46
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27010
Tested-by: Ben Clayton <bclayton@google.com>
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
};
// PrintValue::Ty<T> specializations for standard Reactor types.
+ template <> struct PrintValue::Ty<Bool>
+ {
+ static constexpr const char* fmt = "%d";
+ static std::vector<Value*> val(const RValue<Bool>& v) { return {v.value}; }
+ };
template <> struct PrintValue::Ty<Byte>
{
static constexpr const char* fmt = "%d";