MCPcopy Create free account
hub / github.com/GPUOpen-Effects/GeometryFX / serialize_float4x4

Function serialize_float4x4

amd_lib/shared/d3d11/src/AMD_Serialize.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void serialize_float4x4(FILE * file, const char * name, float * v)
70 {
71 std::string row_name;
72 row_name = std::string(name) + "[0]";
73 serialize_float4(file, row_name.c_str(), &v[0]);
74 row_name = std::string(name) + "[1]";
75 serialize_float4(file, row_name.c_str(), &v[4]);
76 row_name = std::string(name) + "[2]";
77 serialize_float4(file, row_name.c_str(), &v[8]);
78 row_name = std::string(name) + "[3]";
79 serialize_float4(file, row_name.c_str(), &v[12]);
80 }
81
82 void serialize_uint(FILE * file, const char * name, uint32 * v)
83 {

Callers

nothing calls this directly

Calls 1

serialize_float4Function · 0.85

Tested by

no test coverage detected