MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / EncodeViaHexFloat

Function EncodeViaHexFloat

gtests/HexFloat.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45// Hex-encodes a float value.
46template <typename T>
47std::string EncodeViaHexFloat(const T& value) {
48 std::stringstream ss;
49 ss << spvutils::HexFloat<T>(value);
50 return ss.str();
51}
52
53// The following two tests can't be DRY because they take different parameter
54// types.

Callers 1

TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected