Defined USING_CUSTOM_FLOAT16 preproc constant along with float16 class and gated formatter for float16
This commit is contained in:
@@ -323,6 +323,7 @@ struct fmt::formatter<OpenVulkano::Math::Timestamp>
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef USING_CUSTOM_FLOAT16
|
||||
template<>
|
||||
struct fmt::formatter<float16> : fmt::formatter<float>
|
||||
{
|
||||
@@ -332,6 +333,7 @@ struct fmt::formatter<float16> : fmt::formatter<float>
|
||||
return fmt::formatter<float>::format(static_cast<float>(f), ctx);
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
template<>
|
||||
struct fmt::formatter<OpenVulkano::int24> : fmt::formatter<int32_t>
|
||||
|
||||
Reference in New Issue
Block a user