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

Function deserialize_float4

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

Source from the content-addressed store, hash-verified

150 }
151
152 void deserialize_float4(FILE * file, char * name, float * v, bool use_float)
153 {
154 float f[4];
155 fscanf(file, "#%s = %f %f %f %f; \n", name, &v[0], &v[1], &v[2], &v[3]);
156
157 if (use_float)
158 {
159 deserialize_uint4(file, name, (uint *) f);
160 }
161 else
162 {
163 deserialize_uint4(file, name, (uint *) v);
164 }
165 }
166
167 void deserialize_float4x4(FILE * file, char * name, float * v, bool use_float)
168 {

Callers 1

deserialize_float4x4Function · 0.85

Calls 1

deserialize_uint4Function · 0.85

Tested by

no test coverage detected