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

Function deserialize_float2

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

Source from the content-addressed store, hash-verified

120 }
121
122 void deserialize_float2(FILE * file, char * name, float * v, bool use_float)
123 {
124 float f[4];
125 fscanf(file, "#%s = %f %f; \n", name, &v[0], &v[1]);
126
127 if (use_float)
128 {
129 deserialize_uint2(file, name, (uint *) f);
130 }
131 else
132 {
133 deserialize_uint2(file, name, (uint *) v);
134 }
135 }
136
137 void deserialize_float3(FILE * file, char * name, float * v, bool use_float)
138 {

Callers

nothing calls this directly

Calls 1

deserialize_uint2Function · 0.85

Tested by

no test coverage detected